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
A CSV with multiple data frames would not conform to the standard definition of a CSV file. The XLConnect package can be used to generate Excel workbooks. There are other packages also, but they are mostly either too simplified to allow filling multiple sheets or too finicky for my taste. That said, I avoid creating such complex output formats as much as possible... one data frame = one file is much more portable. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity. On June 16, 2015 6:31:11 PM CDT, Kevin Kowitski <k.kowitski at icloud.com> 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-help at r-project.org 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.
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. > >