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. Thanks in advance. Aboubakar Maitournam. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Thu, 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(). % %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. the question Save workspace [y/n/c] pertains only to objects created from the last save.image() on or created after starting the last session "old" objects are not affected %I have try rm(" "). But every time I open R session I find the objects. rm(list=ls(all=TRUE)) should remove all antries JN % %Thanks in advance. % %Aboubakar Maitournam. % %-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- %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 %_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ % *********************************************************************** Jens Nieschulze -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>> Dear all,thank you for your answers. Aboubakar Maitournam. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._