[R] removing message: [Previously saved workspace restored]

Roger D. Peng rpeng at jhsph.edu
Tue Mar 8 22:00:29 CET 2005


R saves the workspace in a file called '.RData'.  Simply remove this 
file from your working directory.  Or if you startup R and get the 
message, try

unlink(".RData")

-roger

Federico Calboli wrote:
> Dear All, 
> 
> I saved by mistake the environment I was working in after typing q(),
> and now I get the annoying message:
> 
> [Previously saved workspace restored]
> 
> I have already deleted all the objects in the environment, saving it as
> an empty environment, so it's just a matter of nitpicking I suppose. The
> message does not appear if I start R from any other place in the
> directory tree.
> 
> I am reading ?Startup and related docs, but I am utterly failing to
> understand how to remove [Previously saved workspace restored] when I
> call R from the offending dir...
> 
> I am using R on Debian Sarge x86
> 
> Cheers,
> 
> Federico Calboli

-- 
Roger D. Peng
http://www.biostat.jhsph.edu/~rpeng/




More information about the R-help mailing list