This is the sample data frame
> training
         x1          x2      x3         x4        x5                    x6             x7
1:       26           8  Friday       <NA>         1                    NA           <NA>
2:        8           9  Friday 1070080727         1   IMPULSE MERCHANDISE            115
When using View(training) it yields error
Error in if (col_min < col_max) { : missing value where TRUE/FALSE needed
When only View(training[1,]) , it is OK.
Saw similar questions here and here, but how can I fix the View()?