Dear R-ers: I'm sorry to disturb you, I want just ask how to export a data set (matrix) from the editor window of R to (for example) a txt if i type fix(data) i get a R editor window, I want to use this dat in other statistic program how i do that Thank you very much Hicham Amsterdam -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Data Export
4 messages · H. Zmarrou, Ernesto Jardim, Luis Silva +1 more
Hi Use write.table() EJ
On Thu, 2002-11-21 at 13:43, H. Zmarrou wrote:
Dear R-ers: I'm sorry to disturb you, I want just ask how to export a data set (matrix) from the editor window of R to (for example) a txt if i type fix(data) i get a R editor window, I want to use this dat in other statistic program how i do that Thank you very much Hicham Amsterdam -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Try with write.table(your matrix,"name.txt",sep=" ",quote=FALSE,row.names=FALSE,col.names= FALSE) sep=" " specifies the separation between columns (in this case space) } } Dear R-ers: } I'm sorry to disturb you, I want just ask how to } export a data set } (matrix) from the editor } window of R to (for example) a txt } if i type fix(data) i get a R editor window, I want } to use this dat in } other statistic program how i do that } } Thank you very much } Hicham Amsterdam } } } -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- .-.-.-.-.-.-.-.-.- } r-help mailing list -- Read } http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html } Send "info", "help", or "[un]subscribe" } (in the "body", not the subject !) To: } r-help-request at stat.math.ethz.ch } } _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._._._._._._._ } -------------------------------------------- sapo.pt/kitadsl -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Dear Hicham, Take a look at the help page for write.table, which writes a data frame to an ascii file (though not via the data editor). John
At 02:43 PM 11/21/2002 +0100, H. Zmarrou wrote:
Dear R-ers: I'm sorry to disturb you, I want just ask how to export a data set (matrix) from the editor window of R to (for example) a txt if i type fix(data) i get a R editor window, I want to use this dat in other statistic program how i do that
----------------------------------------------------- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: jfox at mcmaster.ca phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox ----------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._