[R] Make R 3.0 open .RData files

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Apr 25 16:29:32 CEST 2013


On 25/04/2013 14:00, Duncan Murdoch wrote:
> On 13-04-25 8:33 AM, Dimitri Liakhovitski wrote:
>> Hello!
>>
>> I have Windows 7 Enterprise and two versions of R installed: 2.15.3 and
>> 3.0.0.
>> Before I had R 3.0 I made it a setting that all .RData files - when I
>> double-click on them - were opened by R 2.15.3.
>> Now I want them to be opened by R 3.0 instead of R 2.15.3 (but I don't
>> want
>> to remove R 2.15.3. yet).
>>
>> I right-click on some .RData file, select "Open with" - "Choose default
>> program" and then click on "Browse".
>>
>> I browse to the folder where my R 3.0 is installed, then to the folder
>> "bin", then to the folder "x64" and select "Rgui.exe".
>> However, when R opens - or after I shut R down and then double-click on
>> some .RData file and R opens, it is again R 2.15.3, not R3.0.
>>
>> What am I doing wrong?
>>
>> Of course, when I open R 3.0 directly, then it opens no problem.
>
> This is really a question about Windows 7, not about R, but I would
> guess you aren't telling it to make your choice permanent, or perhaps
> you are not allowed by your administrator to make permanent changes to
> file associations.  You should ask for local help.

We've encountered this for our student accounts, and think it is a bug 
in Windows 7.  If you remove the relevant old Registry entries first it 
should work.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list