[R] Exporting from R to Excel or .csv

Ryan Shuell ryanshuell at gmail.com
Sun Sep 13 18:04:19 CEST 2015


This is my first time posting here....


library(BradleyTerry2)
library(xlsx)

data(flatlizards)
str(flatlizards)

a <- data.frame(x=rnorm(10), y=runif(10))
b <- data.frame(w=rnorm(20), z=runif(20))

ablist <- list(a, b)

write.xlsx(mydata, "c:/Test/mydata.xlsx") 





On Tuesday, June 16, 2015 at 11:49:41 PM UTC-4, Kevin Kowitski wrote:
>
> Hello, 
>
>   Does anyone have some insight on how to; or where I can find better 
> information on how to, export multiple data.frames of different dimensions 
> to the same .csv or excel file?
>
> -Kevin
> ______________________________________________
> R-h... at r-project.org <javascript:> mailing list -- To UNSUBSCRIBE and 
> more, see
> 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