[R] Append to a csv file

kayj kjaja27 at yahoo.com
Mon Apr 20 23:39:48 CEST 2009


I am looping over a data set and at each loop I am creating a dataframe
“mydata”
That I wanted to be saves in a .csv file, but I want all the results to be
saved in the same file and this is the way I do it

write.csv(mydata, file= “data.csv”=F, append=T) . the csv file looks fine
but I always get the following warning message


Warning messages:
1: In write.table(mydata, file =”data.csv”,  ... :
  appending column names to file


Does anyone see why R print out this warning message?




-- 
View this message in context: http://www.nabble.com/Append-to-a-csv-file-tp23145471p23145471.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list