I saved the workspace once and now it automatically restore it whenever I open R How can I turn off this? Thank you
saved workspace
7 messages · bogdanno, Sarah Goslee, David Winsemius +2 more
Assuming you are starting R from a terminal window, you can use R --no-restore or change to a different directory first. If you are starting R in some other fashion, it will depend on what you are doing, a piece of information you neglected to provide (along with OS, which could be relevant, and is requested regardless). Sarah
On Fri, Apr 24, 2009 at 1:49 PM, bogdanno <bodinsoul at gmail.com> wrote:
I saved the workspace once and now it automatically restore it whenever I open R How can I turn off this? Thank you
Sarah Goslee http://www.functionaldiversity.org
One could also move the file out of the R search path, or rename it with an extension that prevents R from seeing it.( Some operating systems may not allow you to see it in their default mode, however.)
David On Apr 24, 2009, at 4:07 PM, Sarah Goslee wrote: > Assuming you are starting R from a terminal window, you can use > R --no-restore > or change to a different directory first. > > If you are starting R in some other fashion, it will depend on what > you > are doing, a piece of information you neglected to provide (along with > OS, which could be relevant, and is requested regardless). > > Sarah > > On Fri, Apr 24, 2009 at 1:49 PM, bogdanno <bodinsoul at gmail.com> wrote: >> I saved the workspace once and now it automatically restore it >> whenever I open R >> How can I turn off this? >> Thank you > > -- > Sarah Goslee > http://www.functionaldiversity.org > > ______________________________________________ > R-help at 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. David Winsemius, MD Heritage Laboratories West Hartford, CT
I am using it from Windows XP. I have never used Linux or Unix. I do not have a terminal window, so --no-restore doesn't work.(I think) I open R just by clicking on the R icon and a console opens up. I have tried to move and rename the file but still R loads it-which makes me think it was copied somewhere else. It' Thank you
On Apr 24, 2:07?pm, Sarah Goslee <sarah.gos... at gmail.com> wrote:
Assuming you are starting R from a terminal window, you can use R --no-restore or change to a different directory first. If you are starting R in some other fashion, it will depend on what you are doing, a piece of information you neglected to provide (along with OS, which could be relevant, and is requested regardless). Sarah On Fri, Apr 24, 2009 at 1:49 PM, bogdanno <bodins... at gmail.com> wrote:
I saved the workspace once and now it automatically restore it whenever I open R How can I turn off this? Thank you
-- Sarah Gosleehttp://www.functionaldiversity.org
______________________________________________ R-h... at r-project.org mailing listhttps://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090425/7587e988/attachment-0001.pl>
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.snow at imail.org 801.408.8111 > -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of bogdanno > Sent: Saturday, April 25, 2009 11:53 AM > To: r-help at 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 at 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.