Sorry, I hit the send botton by accident. Here is my
code so far:

dat<-read.csv('myfile.csv', na.strings="")
dat[is.na(dat]<-'N'

   But it doesn't replace the <NA> for the letter 'N'.


     I am using R v 2/7/0, running it under Windows
XP.

Thank you,

Judith


      
____________________________________________________________________________________
Be a better friend, newshound, and

______________________________________________
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