Hi,

I have a comma seperated data file which has blanks in it. I am trinying to
import it to R using

data1<-read.csv("oa_2006.csv", header = TRUE, sep = ",", quote="\"",
dec=".")

I want the missing values to be "NA". instead R reads them as "U". Any idea
why this happens ?

Thanks in advance.
 Regards,
Nataraju
GM

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to