[R] R workspace

Sven Garbade garbade at psy.uni-muenchen.de
Thu Dec 13 14:31:16 CET 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().
> 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.

Try rm(list=ls()), that should delete all objects in your workspace.
When you quit R, you should save your workspace, because otherwise the
old image saved from the last session will be loaded (where your old
objects are stored). 

By, Sven
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