Re: [R] I have some problem about "save and open"

About this list Date view Thread view Subject view Author view Attachment view

From: Uwe Ligges (ligges@statistik.uni-dortmund.de)
Date: Tue 04 May 2004 - 18:09:16 EST


Message-id: <40974FAC.7070405@statistik.uni-dortmund.de>

mathinee@gaccl.com wrote:

> Hello R-help
>
> I use R program on linux.
> and when I would like to quick R, then I type q()
> after than has question "Save workspace image? [y/n/c]:"
> when I ans "y" , why not to ask about name of file.

It saves the file ".RData" in the current working directory (getwd()
tells you which it is). Use save.image() if you want to write to an
explicitly given filename.

> and when I would like to open last file , how can I do?

Either start R in the working directory you have used the last time (it
load ".RData" from the current), or use load() to explicitly load a
workspace image.

Please read the manuals and the help ?Startup

Uwe Ligges

> thanks for your help.
> and sorry if my English not so good. I'm Thai people and I know
> English a little.
> Mathinee
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:07 EST