On 29/03/2009 8:53 AM, Giacomo Prodi wrote:
hi ladies and gentlemen of the R community.
i'm federico an italian student of statistics and i've got an issue to submit
to you:
i've got a huge file.txt replenished of blank values (over a milion of them).
by importing it into R the read.table() function higlights missing objects per
row and declares an error.
there's any way i can detail into the read.table() function to assign to the
blank fields a logical NA, so that importing can be concluded succesfully?
thanks for any suggestion, i hope i was clear in explaining myself.
The way to handle blank entries depends on the details. Could you post
some lines out of your file, e.g. one complete line, and one with some
missing values?
Duncan Murdoch
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.