Thanks in advance. I'm having a trouble with data saving. I want to run the same data which is in Ecdat library at different statistic programs(excel, stata and matlab) The data I want to use is library(Ecdat) data(Housing) and I want to extract this data our of R as *.dta *.xls formats. So, my first try was to open the data in R window and drag and paste to excel or notepad. BUT, it didn't work. Do you have any decent skills to extract this library data? Please, share to me. -- View this message in context: http://r.789695.n4.nabble.com/How-to-Save-R-library-data-into-xls-or-dta-format-tp3329489p3329489.html Sent from the R help mailing list archive at Nabble.com.
Santosh Srinivas
2011-Mar-01 10:13 UTC
[R] How to Save R library data into xls or dta format
for excel .. see library(xlsx) On Tue, Mar 1, 2011 at 2:57 PM, JoonGi <joongi at hanmail.net> wrote:> > Thanks in advance. > > I'm having a trouble with data saving. > > I want to run the same data which is in Ecdat library at different statistic > programs(excel, stata and matlab) > > The data I want to use is > > library(Ecdat) > data(Housing) > > and I want to extract this data our of R as *.dta *.xls formats. > So, my first try was to open the data in R window and drag and paste to > excel or notepad. > > BUT, it didn't work. > > Do you have any decent skills to extract this library data? > > Please, share to me. > > > > -- > View this message in context: http://r.789695.n4.nabble.com/How-to-Save-R-library-data-into-xls-or-dta-format-tp3329489p3329489.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. >
Gabor Grothendieck
2011-Mar-01 14:12 UTC
[R] How to Save R library data into xls or dta format
On Tue, Mar 1, 2011 at 4:27 AM, JoonGi <joongi at hanmail.net> wrote:> > Thanks in advance. > > I'm having a trouble with data saving. > > I want to run the same data which is in Ecdat library at different statistic > programs(excel, stata and matlab) > > The data I want to use is > > library(Ecdat) > data(Housing) > > and I want to extract this data our of R as *.dta *.xls formats. > So, my first try was to open the data in R window and drag and paste to > excel or notepad. >For excel see: http://rwiki.sciviews.org/doku.php?id=tips:data-io:ms_windows&s=excel -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com