[R] Using write.table i have a table with two columns i would like to save it as an excel file

kevin123 kevincorry123 at gmail.com
Thu Aug 25 18:58:53 CEST 2011


Using write.table i would like to save data  as an excel file to a folder. I
am not too sure how to write the file path or what to name the file. I would
appreciate any feedback. 


> write.table(x, file = "", append = FALSE, quote = TRUE, sep = " ",
+             eol = "\n", na = "NA", dec = ".", row.names = TRUE,
+             col.names = TRUE, qmethod = c("escape", "double"),
+             fileEncoding = "")
"area" "bedrooms" "sale.price"

"9" 694 4 192
"10" 905 4 215
"11" 802 4 215
"12" 1366 4 274
"13" 716 4 112.7
"14" 963 4 185
"15" 821 4 212
"16" 714 4 220
"17" 1018 4 276
"18" 887 4 260
"19" 790 4 221.5
"20" 696 5 255
"21" 771 5 260
"22" 1006 5 293
"23" 1191 6 375


--
View this message in context: http://r.789695.n4.nabble.com/Using-write-table-i-have-a-table-with-two-columns-i-would-like-to-save-it-as-an-excel-file-tp3768829p3768829.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list