Hello How to export data frame to file which can be used by gnuplot? P.S. Sorry for naive question
On Sun, Mar 27, 2011 at 10:12:38PM +0300, Denis Kazakiewicz wrote:> Hello > > How to export data frame to file which can be used by gnuplot?Hello: Try the following write.table(dat, file="out.txt", row.names=FALSE, col.names=FALSE, quote=FALSE) This will save a space delimited file. I am not using gnuplot for a long time, but i think a space delimited file can be used. Hope this helps. Petr Savicky.
Dear Petr Thank you very much ? ???, 27/03/2011 ? 22:23 +0200, Petr Savicky ????:> On Sun, Mar 27, 2011 at 10:12:38PM +0300, Denis Kazakiewicz wrote: > > Hello > > > > How to export data frame to file which can be used by gnuplot? > > Hello: > > Try the following > > write.table(dat, file="out.txt", row.names=FALSE, col.names=FALSE, quote=FALSE) > > This will save a space delimited file. I am not using gnuplot > for a long time, but i think a space delimited file can be used. > > Hope this helps. > > Petr Savicky. > > ______________________________________________ > 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.
There is a fairly basic interface with gnuplot in the TeachingDemos package, see ?gp.open -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Denis Kazakiewicz > Sent: Sunday, March 27, 2011 1:13 PM > To: R-help > Subject: [R] export data to gnuplot > > Hello > > How to export data frame to file which can be used by gnuplot? > > P.S. Sorry for naive question > > ______________________________________________ > 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.