[R] problems importing file

From: Giacomo Prodi <bonoricus_at_yahoo.it>
Date: Sun, 29 Mar 2009 12:53:21 +0000 (GMT)

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.

R-help_at_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. Received on Sun 29 Mar 2009 - 11:56:28 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 29 Mar 2009 - 12:30:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive