There are functions for that, see ?unlink and ?file.rename (and several others 
on that same page).  They can be used to remove or rename the .Rdata file, but 
there are several other ways to remove/rename the file as well.  Under windows 
you can click on the file menu, choose "Load Workspace", then right click on 
the file and choose from the menu whether to delete or rename.  But it is still 
easiest to do deleting/renaming using the operating system before running R.

You could have also removed everything from your workspace while running R, 
then saved the now empty workspace (there are commands/functions to do those 
things as well).  Then the next time you start R the empty workspace will load 
quickly enough that you probably won't notice.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111


> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of bogdanno
> Sent: Saturday, April 25, 2009 11:53 AM
> To: r-help@r-project.org
> Subject: Re: [R] saved workspace
> 
> OK, I found the file and moved and renamed it And now it doesn't load
> anymore.
> It's a weird method though-there should be a command for that purpose.
> 
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to