[R] How to permanently remove [Previously saved workspace restored]
jwiley.psych at gmail.com
Sun Nov 14 10:27:42 CET 2010
On Sun, Nov 14, 2010 at 1:14 AM, Yuliya Matveyeva <yu125 at statmod.ru> wrote:
> Good afternoon,
> I am actually concerned with this issue too. What if I run R at work and I
> simply do not have the necessary access-rights in order to delete the .Rdata
One wonders how it was created in the first place; with write
privileges almost always come delete privileges.
> file. Do I really have only 3 choices: ask the admin to delete it, live with
> it always reloading the previous workspace, resave an empty workspace.
> That'd be sad if it really was like that...
There are always more options, but they may not be more pleasant.
Here are some examples:
1) Start R in a different directory
2) Rename the .Rdata file
3) Move the .Rdata file out of R's starting directory
4) add --vanilla to your start R command (also useful if your .Rdata
file is corrupt or you want to avoid using your .Rprofile file for
5) Stop using R (though this seems a little extreme)
Ph.D. Student, Health Psychology
University of California, Los Angeles
More information about the R-help