[R] R workspace

Martyn Plummer plummer at iarc.fr
Thu Dec 13 12:23:51 CET 2001


On 13-Dec-2001 Aboubakar Maitournam 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().

Answering "y" will save the changes you have made to your
workspace in the current session.  Answering "n" will not
save them, but any previously saved workspace will still be
there on disk, and will be loaded in the next session.
 
> 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.

This in the FAQ. Type

rm(list=ls(all=TRUE))

When you quit, answer "y" when asked if you want to save your workspace!
Martyn
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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