I am using R 3.2.2 on win-7 while using predict function with e1071 (naive bayes classifier) I am getting the following error "Error in object$tables[[v]][, nd] : subscript out of bounds" pl help. regards Parth