----- Original Message ---- From: Michael Bedward <michael.bedw...@gmail.com> To: Stephen Liu <sati...@yahoo.com> Cc: r-help@r-project.org Sent: Thu, August 12, 2010 3:50:12 PM Subject: Re: [R] Where the data file is stored?
> By default everything in an R workspace (data objects, functions etc) > will be stored in a file called .RData in the working directory. > Please see http://cran.r-project.org/doc/contrib/Paradis-rdebuts_en.pdf Hi Michael, Ah I see. Thanks $ locate RData /home/userA/.RData /usr/lib/R/site-library/qtl/data/badorder.RData /usr/lib/R/site-library/qtl/data/bristle3.RData /usr/lib/R/site-library/qtl/data/bristleX.RData /usr/lib/R/site-library/qtl/data/fake.4way.RData /usr/lib/R/site-library/qtl/data/fake.bc.RData /usr/lib/R/site-library/qtl/data/fake.f2.RData /usr/lib/R/site-library/qtl/data/hyper.RData /usr/lib/R/site-library/qtl/data/listeria.RData /usr/lib/R/site-library/qtl/data/map10.RData I left out following step; > write.csv(data, "petdrug.csv") > q() without saving. $ locate petdrug.csv /home/userA/petdrug.csv petdrug.csv can be read on OpenOffice Calc and edited there. B.R. Stephen L ______________________________________________ R-help@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.