Stephen Liu
2010-Nov-14 06:33 UTC
[R] How to permanently remove [Previously saved workspace restored]
Win 7 64 bit R version 2.11.1 (2010-05-31) How to permanently remove; [Previously saved workspace restored]> rm (list = ls( ))On next start it still displays; ..... [Previously saved workspace restored] There is a file keeping the previous data on Linux .Rdata How about on Windows? TIA B.R. Stephen L
Joshua Wiley
2010-Nov-14 06:45 UTC
[R] How to permanently remove [Previously saved workspace restored]
On Sat, Nov 13, 2010 at 10:33 PM, Stephen Liu <satimis at yahoo.com> wrote:> > Win 7 64 bit > R version 2.11.1 (2010-05-31) > > > How to permanently remove; > [Previously saved workspace restored] > > > rm (list = ls( )) > > On next start it still displays; > ..... > [Previously saved workspace restored] > > > There is a file keeping the previous data on Linux > .Rdata > > How about on Windows?Generally the same. Just delete the file if you do not want it. Also, if you clear your workspace and save and shutdown once, and then never save your workspace when you quit, it will just load an empty workspace generally (but in the event that you would like to save your workspace once for some reason, you just have to save and quit and it will be there when you get back). HTH, Josh> > TIA > > B.R. > Stephen L > > > > > ______________________________________________ > 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.-- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/
Peter Langfelder
2010-Nov-14 06:58 UTC
[R] How to permanently remove [Previously saved workspace restored]
On Sat, Nov 13, 2010 at 10:33 PM, Stephen Liu <satimis at yahoo.com> wrote:> Win 7 64 bit > R version 2.11.1 (2010-05-31) > > > How to permanently remove; > [Previously saved workspace restored] > >> rm (list = ls( )) > > On next start it still displays; > ..... > [Previously saved workspace restored] > > > There is a file keeping the previous data on Linux > .RdataTo the best of my knowledge there's an .RData file on Windows as well. Check your default directory (usually Documents but may be something else - start R as usual and type getwd() before you do anything). Remove the .RData file as well the file .Rhistory and you should be good to go. Peter
Stephen Liu
2010-Nov-14 10:00 UTC
[R] How to permanently remove [Previously saved workspace restored]
Hi folks, Tks for your advice. Summing up all your advice I performed following steps without success. 1)> rm (list = ls( )) > q()save working image 2)> rm (list = ls(all=TRUE)) > q()save working image 3)> getwd()[1] "C:/Users/satimis" .Rhistory> list.files(path="C:\Users\satimis", all.files = FALSE)Error: '\U' used without hex digits in character string starting "C:\U"> list.files(path="C:\Users\satimis", all.files = TRUE)Error: '\U' used without hex digits in character string starting "C:\U" -> Windows Explorer delete .Rhistory manually Start R .... [Previously saved workspace restored] is still there Please advise. TIA B.R. Stephen L ----- Original Message ---- From: Stephen Liu <satimis at yahoo.com> To: r-help at r-project.org Sent: Sun, November 14, 2010 2:33:21 PM Subject: [R] How to permanently remove [Previously saved workspace restored] Win 7 64 bit R version 2.11.1 (2010-05-31) How to permanently remove; [Previously saved workspace restored]> rm (list = ls( ))On next start it still displays; ..... [Previously saved workspace restored] There is a file keeping the previous data on Linux .Rdata How about on Windows? TIA B.R. Stephen L ______________________________________________ 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.