[R] How insert data to a column in existing csv file?

Yellow s1010265 at student.hsleiden.nl
Thu Apr 12 19:05:09 CEST 2012


Hi everyone, 

I read your messages and I tried some things out. 
The Data2 is filled with NA. 
So what I did was: 

NameFile.csv$Data2[is.na(NameFile.csv$Data2)] = log2Values 

And now it worked. :) 
Seems like I needed to replace it, and not only write it. 

Thanks.  

--
View this message in context: http://r.789695.n4.nabble.com/How-insert-data-to-a-column-in-existing-csv-file-tp4551327p4552463.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list