r - Error in read.table: line 150428 did not have 35 elements -
i know has been answered, did not understand of solutions.
i using read.table(file.txt,sep = ';', header = t)' load table 35 columns , large number os rows, r keeps returning me error:
error in scan(file = file, = what, sep = sep, quote = quote, dec = dec, : line 150428 did not have 35 elements i tried opening table on excel , there wasn't wrong on lines.
what fix this? thank you
edit: have tried using fill = t, ir returns me lot of warnings.
in min(x) : no non-missing arguments min; returning inf 14: in max(x) : no non-missing arguments max; returning -inf 15: in precision(x) : nans produced i think thaat happens because try read table inside function other calculations.
edit 2: there lot of # in dataset. i've read problem. however, other files have used had these , there no problem @ al..
Comments
Post a Comment