[R] How to delete the previously saved workspace restored

Yanwei Tan Tan at nbio.uni-heidelberg.de
Mon May 31 11:10:34 CEST 2010

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 
always load the previous workspace. I want to delete the .RData in the 
directory, but I have no clue where is the .RData directory.

The message is "Workspace restored from /Users/wei/.RData"

How could I avoid from this directory? because there is a dot before, I 
do not know where I can find this file.

Also I already try this command : rm(list=ls())   But R still load the 
previous workspace.

With many thanks for any advice!!


More information about the R-help mailing list