[R] problems importing file
murdoch at stats.uwo.ca
Sun Mar 29 15:04:39 CEST 2009
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
More information about the R-help