[R] R workspace
Duncan Murdoch
dmurdoch at pair.com
Sat Dec 15 22:36:14 CET 2001
On Thu, 13 Dec 2001 11:42:40 +0100, you wrote:
>
>Dear all,
>
>I m using R version 1.3.1 under linux (Red Hat).
>When i left my session, naturally i have the question
>Save workspace image? [y/n/c]?
>I said n because I want to remove all the contain of my workspace.
>Then I left R with q().
This means it won't save the current workspace, but if you already
have a saved one, it will be left there.
>
>When I open new session I have the R welcome message and
>[previously save workspace restored]. By typing ls() I find
>what I have normally removed and I want to remove.
>I have try rm(" "). But every time I open R session I find the objects.
There are several ways to get rid of the old saved workspace, for
example:
unlink(".RData")
q("no")
or
rm(list=ls())
q("yes")
Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list