Hi all, Is there a function to export a dataframe to a text file? I want to store a large set of data which I have saved in a dataframe in my workspace and copy and past doesn't cut it. Thank you, Benjamin
?write.table On 08/01/07, Benjamin Dickgiesser <dickgiesser@gmail.com> wrote:> > Hi all, > > Is there a function to export a dataframe to a text file? > I want to store a large set of data which I have saved in a dataframe > in my workspace and copy and past doesn't cut it. > > Thank you, > Benjamin > > ______________________________________________ > R-help@stat.math.ethz.ch 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. >-- Henrique Dallazuanna [[alternative HTML version deleted]]
On Mon, 8 Jan 2007 11:17:24 +0000 "Benjamin Dickgiesser" <dickgiesser at gmail.com> wrote:> Hi all, > > Is there a function to export a dataframe to a text file? > I want to store a large set of data which I have saved in a dataframe > in my workspace and copy and past doesn't cut it.see ?write.table Hth Detlef> > Thank you, > Benjamin > > ______________________________________________ > R-help at stat.math.ethz.ch 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.
#Try: Write.table(...) #Zoltan 2007/1/8, Benjamin Dickgiesser <dickgiesser@gmail.com>:> > Hi all, > > Is there a function to export a dataframe to a text file? > I want to store a large set of data which I have saved in a dataframe > in my workspace and copy and past doesn't cut it. > > Thank you, > Benjamin > > ______________________________________________ > R-help@stat.math.ethz.ch 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. >[[alternative HTML version deleted]]
Hi AFAIK ?sink ?write.table are possible options. HTH Petr On 8 Jan 2007 at 11:17, Benjamin Dickgiesser wrote: Date sent: Mon, 8 Jan 2007 11:17:24 +0000 From: "Benjamin Dickgiesser" <dickgiesser at gmail.com> To: r-help at stat.math.ethz.ch Subject: [R] Export dataframe to txt> Hi all, > > Is there a function to export a dataframe to a text file? > I want to store a large set of data which I have saved in a dataframe > in my workspace and copy and past doesn't cut it. > > Thank you, > Benjamin > > ______________________________________________ > R-help at stat.math.ethz.ch 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.Petr Pikal petr.pikal at precheza.cz