[R] convert to csv file

Bill.Venables at csiro.au Bill.Venables at csiro.au
Fri Sep 17 05:07:59 CEST 2010


no.

Your best way is to use

write.csv(table_list, file = paste("file", x, ".csv", sep=""))

 

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of lord12
Sent: Friday, 17 September 2010 12:55 PM
To: r-help at r-project.org
Subject: Re: [R] convert to csv file


 In order to use the extension csv, is the syntax:
 
write.table(table_list, file= paste("file", x, sep = "").csv, sep = ",") ?
Also I pretty much create a table by 
doing:  

table_list= cbind(c1,c2,c3,c4) where c1...c4 are vectors.
-- 
View this message in context: http://r.789695.n4.nabble.com/convert-to-csv-file-tp2543232p2543277.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help at 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.



More information about the R-help mailing list