[R] How to delete the previously saved workspace restored

2010-05-31 Thread Yanwei Tan
Dear all, I am a new user of R, here I have a question about remove the previous restored workspace. I saved the workspace last time, but R always automatically load the workspace when I open it. I try to remove the object and then close R without saving. But next time when I open R, it

Re: [R] How to delete the previously saved workspace restored

2010-05-31 Thread David Winsemius
On May 31, 2010, at 5:10 AM, Yanwei Tan wrote: Dear all, I am a new user of R, here I have a question about remove the previous restored workspace. I saved the workspace last time, but R always automatically load the workspace when I open it. I try to remove the object and then close

Re: [R] How to delete the previously saved workspace restored

2010-05-31 Thread Joris Meys
If you start R, type : unlink(.RData) This deletes the workspace file. Cheers Joris On Mon, May 31, 2010 at 11:10 AM, Yanwei Tan t...@nbio.uni-heidelberg.dewrote: Dear all, I am a new user of R, here I have a question about remove the previous restored workspace. I saved the workspace

Re: [R] How to delete the previously saved workspace restored

2010-05-31 Thread jim holtman
The easiest way (I use WIndows) is to start each session without loading the previous workspace. I explicitly save what I need and then explicitly restore it. In most cases, I always reconstruct the data I need. I use the '--no-restore --no-save' options. On Mon, May 31, 2010 at 10:04 AM,

Re: [R] How to delete the previously saved workspace restored

2010-05-31 Thread Yanwei Tan
Thanks a lot David! I use MacOSX and deleted the .RData file, then everything is fine. Best wishes, Wei On 5/31/10 2:49 PM, David Winsemius wrote: On May 31, 2010, at 5:10 AM, Yanwei Tan wrote: Dear all, I am a new user of R, here I have a question about remove the previous restored