On 20/02/2009, at 1:28 PM, Steve Revilak wrote:

From: Rolf Turner <[email protected]>
Date: Fri, 20 Feb 2009 12:47:46 +1300
Subject: [R-SIG-Mac] Case distinction on a Mac.

I have noticed that OS X sometimes fails to make a case distinction in the names of files. E.g. if I have a file ``junk'' and I try to create a directory using ``mkdir Junk'' it will refuse to do so saying ``file
exists''.

Likewise I have just noticed that in R

        file.exists(".Rdata")

returns TRUE when no file .Rdata exists (but there *is* a file .RData).

This strikes me as an undesirable, uh, feature. Is there any way that
I can tell OS X to smarten up about this?

Out of the box, OS X filesystems are formatted as HFS+, which is case
insensitive (but case preserving).

There is are variants of HFS+ that are case sensitive; Disk Utility
refers to them variant as "Mac OS Extended (Case Sensitive)" and "Mac
OS Extended (Case Sensitive, journaled)".

If you'd like the file system to be case sensitive, you'll need to
format the drive that way.

Oooooohhhh boy!  That sounds way beyond my (very limited) capabilities.

Thanks anyway.

        cheers,

                Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to