[R] How to permanently remove [Previously saved workspace restored]
Stephen Liu
satimis at yahoo.com
Sun Nov 14 17:15:02 CET 2010
Hi Joshua,
>> But I can't find .RDate on Windows Explorer. Only .Rhistory is there.
> This is likely a "feature" of Windows Explorer....certain types of
> files are hidden by default (like those that start with "."). You can
> adjust this behavior in the folder options (if the idea of ......
I'm aware of the hidden files. [hidden] on properties has not bee checked.
Otherwise .Rhistory won't show up.
The strange thing is on;
-> Start -> Search
RData
I can't find .RData. But search on Rhistory found .Rhistory. Would it be
.RData not yet created?
>> On next start of R
>> [Previously saved workspace restored]
>> still popup
> Now you probably just restored an empty workspace. This is not a
> problem, it is normal R behavior and is a sign that everything is
> working as expected.
Ah I see. Thanks
B.R.
Stephen L
----- Original Message ----
From: Joshua Wiley <jwiley.psych at gmail.com>
To: Stephen Liu <satimis at yahoo.com>
Cc: r-help at r-project.org
Sent: Sun, November 14, 2010 11:42:37 PM
Subject: Re: [R] How to permanently remove [Previously saved workspace restored]
On Sun, Nov 14, 2010 at 3:40 AM, Stephen Liu <satimis at yahoo.com> wrote:
> Hi Joshua,
>
>> list.files(path = getwd(), all.files = TRUE)
> [3]
> ".RData"
> [4]
> ".Rhistory"
> .Rhistory and .RDate are there.
Note that these files start with a "."
>
> But I can't find .RDate on Windows Explorer. Only .Rhistory is there.
This is likely a "feature" of Windows Explorer....certain types of
files are hidden by default (like those that start with "."). You can
adjust this behavior in the folder options (if the idea of
protected/hidden files and folder options all sounds new to you, now
is a great opportunity to spend some time exploring your operating
system, learning how it works and how to use it at a more serious
level than the basic user it assumes....Google is your friend here,
there are literally thousands of articles, walkthroughs, and tutorials
on different aspects of Windows).
>> rm (list = ls(all=TRUE))
This does NOT delete the workspace, it just clears your worksapce of
any objects.
>> q()
> save working image
Now you will have saved your current worksapce (which if you just used
rm() as above, will be empty, but still there).
>
> On next start of R
> [Previously saved workspace restored]
> still popup
Now you probably just restored an empty workspace. This is not a
problem, it is normal R behavior and is a sign that everything is
working as expected.
>
>
> B.R.
> Stephen L
More information about the R-help
mailing list