"Data set flchain available in the survival? package". ?How can?I get?it (from R)? as Excel file? Thanks! [[alternative HTML version deleted]]
Jeff Newmiller
2017-Jul-30 06:27 UTC
[R] How export data set (available in the package) from R?
Read the help file for the survival package. Probably use the data function to retrieve it, and write it out using the write.table function. -- Sent from my phone. Please excuse my brevity. On July 29, 2017 8:47:51 PM PDT, Ted via R-help <r-help at r-project.org> wrote:>"Data set flchain available in the survival? package". ?How can?I >get?it (from R)? as Excel file? Thanks! > > [[alternative HTML version deleted]] > >______________________________________________ >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.
Hasan Diwan
2017-Jul-30 06:35 UTC
[R] How export data set (available in the package) from R?
write.csv(flchain, 'flchain.csv') should import into Excel without problems. -- H On 29 July 2017 at 23:27, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote:> Read the help file for the survival package. Probably use the data > function to retrieve it, and write it out using the write.table function. > -- > Sent from my phone. Please excuse my brevity. > > On July 29, 2017 8:47:51 PM PDT, Ted via R-help <r-help at r-project.org> > wrote: > >"Data set flchain available in the survival package". How can I > >get it (from R) as Excel file? Thanks! > > > > [[alternative HTML version deleted]] > > > >______________________________________________ > >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. > > ______________________________________________ > 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. >-- OpenPGP: https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1 If you wish to request my time, please do so using http://bit.ly/hd1ScheduleRequest. Si vous voudrais faire connnaisance, allez a http://bit.ly/hd1ScheduleRequest. <https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1>Sent from my mobile device Envoye de mon portable [[alternative HTML version deleted]]
Rolf Turner
2017-Jul-30 10:15 UTC
[R] [FORGED] How export data set (available in the package) from R?
On 30/07/17 15:47, Ted via R-help wrote:> "Data set flchain available in the survival package". How can I get it (from R) as Excel file? Thanks!The best advice is *DON'T*!!! I.e. Don't use Excel. Ever. Unless you really *want* to create chaos and havoc, and let slip the dogs of war. cheers, Rolf Turner -- Technical Editor ANZJS Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276
Suzen, Mehmet
2017-Jul-30 20:43 UTC
[R] How export data set (available in the package) from R?
I also suggest you Hadley's optimized package for interoperating xls files with R: https://github.com/tidyverse/readxl https://cran.r-project.org/web/packages/readxl/index.html
Ted Beginner
2017-Jul-31 07:33 UTC
[R] How (in general) take out data sets (available in the packages)?
Suzen, thank you very much for your so useful information (I will try to understand it)! And my sincere gratitude to the moderator!>"Suzen, Mehmet" < msuzen at gmail.com >: >I also suggest you Hadley's optimized package for interoperating xls >files with R: >https://github.com/tidyverse/readxl >https://cran.r-project.org/web/packages/readxl/index.html[[alternative HTML version deleted]]