Skip to content
Prev 175334 / 398506 Next

problems importing file

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.