Skip to content

Trouble loading "saved" Rdata

2 messages · David Winsemius, steven mosher

#
cross-posting to R-SIG-Mac
On Aug 15, 2010, at 4:07 PM, steven mosher wrote:

            
I guess you have figured out that if you save with <name>.Rdata or  
<name>.Rdta  and try to load() as "<name>.RData", the combined R-MacOS  
software is not going to give you what you expect. If on the other  
hand you had click-hold-dragged those .RData files to the R icon on  
your Dock, you may have gotten the expected behavior.

You can change the file extensions which will be recognized (although  
not necessarily displayed with the proper R-icon inFfinder windows) by  
changing the default programs in a GetInfo window from the system.

I also checked to see what would happen if I changed the extension to  
".junk" and then dragged .... Turns out that the R interpreter  
searches for a file named test.r and when it finds it it loads it into  
an editing window. (That was _not_ what I expected.)