[R] How to permanently remove [Previously saved workspace restored]

Peter Langfelder peter.langfelder at gmail.com
Sun Nov 14 07:58:03 CET 2010

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

To 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.


More information about the R-help mailing list