If you want to save the workspace to a file, type:

save.image("filename")

To load the file, type:

load("filename")

The save that you do when you exit R saves by default to a (typically)
hidden file called ".Rdata".  If you start R in a directory with a ".Rdata"
file in it, R will load that file automatically.

Sean
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 03, 2004 10:32 PM
Subject: [R] I have some problem about "save and open"


> 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.
> and when I would like to open last file , how can I do?
> thanks for your help.
> and sorry if my English not so good. I'm Thai people and I know
> English a little.
> Mathinee
>
> ______________________________________________
> [EMAIL PROTECTED] 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
>

______________________________________________
[EMAIL PROTECTED] 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

Reply via email to