Re: [R] .RData and UNIX

From: Duncan Murdoch <>
Date: Thu 12 Oct 2006 - 18:30:15 GMT

On 10/12/2006 1:50 PM, J.M. Breiwick wrote:
> Hi,
> I have been using R under Windows but have started to use R (ver. 2.3.0,)
> under Linux (linux-gnu).
> I have been saving my workspace and I notice that I sometimes end up with 2
> version of the .RData file:
> .RData and .Rdata. Can someone explain what is happening? I am not sure
> which one is loaded so I have ended up losing data by deleting the wrong
> file. I think the saved file should be .RData. Thank you.

Unix (mostly) uses a case-sensitive file system, so .Rdata and .RData are different files. On Windows or MacOSX (mostly) they would refer to the same file.

So at some point in your code or the code you're using, someone was a little sloppy and saved a file to .Rdata.

As far as I know none of the R base packages or GUIs do this, so it's likely in something you wrote or in a contributed package. I'd keep a careful watch until you see what you're doing when this happens in order to identify where the problem is.

Duncan Murdoch mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri Oct 13 04:34:13 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 12 Oct 2006 - 19:30:09 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.