[R-SIG-Mac] Using previous version of R as the default version

Simon Urbanek simon.urbanek at r-project.org
Fri Jan 22 16:36:49 CET 2010


On Jan 22, 2010, at 9:57 AM, Raktim Sinha wrote:

> Hi Simon & Eric,
> 
> Thanks for the pointer on RSwitch, it works nicely on Leopard.
> 
> However on Snow Leopard, I can't find the /Library/Receipts/R.framework.pkg
> to delete

That instruction is for OS X 10.4 Tiger. On OS X 10.5 and higher you have to use 

pkgutil --forget org.r-project.R.Leopard.fw.pkg

or for the Tiger binary:

pkgutil --forget org.r-project.R.framework
pkgutil --forget org.r-project.R

However now it's too late unless you reinstall both versions.


> before installing R 2.10 as a result, I think, RSwitch is only
> showing 2.10 and not 2.9.
> 
> I am using the 32Bit Legacy universal binary.
> 

You should be preferably using the current Leopard binary -- the legacy one is only meant for Mac OS X 10.4 Tiger and is deprecated.

Cheers,
Simon



> How can I fix this?
> Thanks for the help
> Raktim
> 
> 
> -----Original Message-----
> From: Simon Urbanek [mailto:simon.urbanek at r-project.org] 
> Sent: Wednesday, January 20, 2010 7:53 PM
> To: Raktim Sinha
> Cc: r-sig-mac at stat.math.ethz.ch
> Subject: Re: [R-SIG-Mac] Using previous version of R as the default version
> 
> 
> On Jan 20, 2010, at 11:17 AM, Raktim Sinha wrote:
> 
>> Hello,
>> 
>> 
>> 
>> I am running Mac OS X 10.6.
>> 
>> I had R 2.9 and recently updated to 2.10.
>> 
>> When I start R it defaults to v 2.10.
>> 
>> 
>> 
>> I can launch R 2.9 with an absolute path:
>> 
>> /Library/Frameworks/R.framework/Versions/2.9/Resources/R
>> 
>> 
>> 
>> But is there a way to launch the previous version, 2.9, or the latest
>> version as the default version by running a script ?
>> 
>> If so how should I go about writing such a script? What all links needs to
>> be updated?
>> 
> 
> See R for Mac FAQ 12.15 
> http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html
> 
> Cheers,
> Simon
> 
> 
>> 
>> 
>> I would appreciate some suggestions.
>> 
>> Thanks,
>> 
>> Raktim
>> 
>> 
>> 
>> Bioinformatics Engineer
>> 
>> DFCI, Harvard Med School
>> 
>> Boston
>> 
>> 
>> 
>> 
>> 	[[alternative HTML version deleted]]
>> 
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> 
>> 
> 
> 
> 



More information about the R-SIG-Mac mailing list