Re: [R] How to permanently remove [Previously saved workspace re

2010-11-14 Thread Ted Harding
On 14-Nov-10 16:43:18, Duncan Murdoch wrote:
 On 14/11/2010 10:42 AM, Joshua Wiley wrote:
 On Sun, Nov 14, 2010 at 3:40 AM, Stephen Liusati...@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 Explorercertain types of
 files are hidden by default (like those that start with .).
 
 That's not true:  it's Unix ls that hides filenames starting with a
 .. 
   Windows Explorer does hide some files, but I don't think it is ever 
 based on the name, it's based on the attributes.
 
 What Windows Explorer does that is incredibly stupid is that (by 
 default) it hides file extensions for known file types.  Generally 
 .RData will be registered as a known file type.  Exporer will cut off
 the .RData part the name of a file with that extension, and only show
 the first part of the name.  Since the file .RData has no starting 
 part of a name, it will be listed with a blank name.
 
 What you should do (and what Microsoft should set the default to) is to
 turn off this bad policy of listing filenames incorrectly.  I don't 
 remember how to do it in Windows 7 or Vista, but on XP, here's how:
 
 Go into Explorer in some folder.
 
 Click on the Tools menu, then the Folder Options... choice.
 
 Choose the View tab.
 
 About 10 choices down within Files and Folders, you'll see Hide 
 Extensions for Known File Types.  Make sure this is *not* checked.
 
 If you're sane, you'll then click on the button Apply to all folders,
 but you might just want to click on OK to try it out on one folder
 first.
 
 Duncan Murdoch

That is a nice reply, Duncan, and an excellent explanation of why
.Rdata has no name! I also like the final sentence.
I would only add:

If you're sane, and want to stay sane, think about not using Windows.

Ted.


E-Mail: (Ted Harding) ted.hard...@wlandres.net
Fax-to-email: +44 (0)870 094 0861
Date: 14-Nov-10   Time: 16:58:49
-- XFMail --

__
R-help@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.


Re: [R] How to permanently remove [Previously saved workspace re

2010-11-14 Thread Stephen Liu
 That is a nice reply, Duncan, and an excellent explanation of why
 .Rdata has no name! I also like the final sentence.
 I would only add:

 If you're sane, and want to stay sane, think about not using Windows.

Hi Ted,

10 years ago, I have stopped running Windows for production.  I only keep 
Windows for testing.  This is a virtual machine running Oracle VBox as 
virtualizer with Ubuntu 1010 as host.  Win7 is running as VM.  In certain 
occasion we still need Windows temporarily such RExcel, a Windows application. 
 
I found R and Calc later.  RBloomberg is also a Windows application.  Very 
soon 
a Linux/Unix version will be available, etc.  Some enterprises still keep 
Windows as OS in office.  In order to survive we have to follow.

B.R.
Stephen






- Original Message 
From: ted.hard...@wlandres.net ted.hard...@wlandres.net
To: r-help@r-project.org
Sent: Mon, November 15, 2010 12:58:51 AM
Subject: Re: [R] How to permanently remove [Previously saved workspace re

On 14-Nov-10 16:43:18, Duncan Murdoch wrote:
 On 14/11/2010 10:42 AM, Joshua Wiley wrote:
 On Sun, Nov 14, 2010 at 3:40 AM, Stephen Liusati...@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 Explorercertain types of
 files are hidden by default (like those that start with .).
 
 That's not true:  it's Unix ls that hides filenames starting with a
 .. 
   Windows Explorer does hide some files, but I don't think it is ever 
 based on the name, it's based on the attributes.
 
 What Windows Explorer does that is incredibly stupid is that (by 
 default) it hides file extensions for known file types.  Generally 
 .RData will be registered as a known file type.  Exporer will cut off
 the .RData part the name of a file with that extension, and only show
 the first part of the name.  Since the file .RData has no starting 
 part of a name, it will be listed with a blank name.
 
 What you should do (and what Microsoft should set the default to) is to
 turn off this bad policy of listing filenames incorrectly.  I don't 
 remember how to do it in Windows 7 or Vista, but on XP, here's how:
 
 Go into Explorer in some folder.
 
 Click on the Tools menu, then the Folder Options... choice.
 
 Choose the View tab.
 
 About 10 choices down within Files and Folders, you'll see Hide 
 Extensions for Known File Types.  Make sure this is *not* checked.
 
 If you're sane, you'll then click on the button Apply to all folders,
 but you might just want to click on OK to try it out on one folder
 first.
 
 Duncan Murdoch

That is a nice reply, Duncan, and an excellent explanation of why
.Rdata has no name! I also like the final sentence.
I would only add:

If you're sane, and want to stay sane, think about not using Windows.

Ted.


E-Mail: (Ted Harding) ted.hard...@wlandres.net
Fax-to-email: +44 (0)870 094 0861
Date: 14-Nov-10   Time: 16:58:49
-- XFMail --

__
R-help@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.




__
R-help@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.