[R-SIG-Mac] installing multiple versions of R
Steven McKinney
smckinney at bccrc.ca
Mon Dec 1 20:45:00 CET 2008
Hi Stephen,
When you are attempting to install the second
version of R, have you been doing the following step?
(This is on the "Read Me" second window of the
Mac installer dialog.)
Note: By default the installer upgrades previous
R version if present. If you want to keep your
old R version, remove R-Framework.pkg from
/Library/Receipts before proceeding.
So if you install R-2.8 using R-2.8.0.dmg,
then before you install R-2.7.2 using
R-2.7.2.dmg, navigate to /Library/Receipts
in Finder and drag R-Framework.pkg to the trash.
Best
Steven McKinney
Statistician
Molecular Oncology and Breast Cancer Program
British Columbia Cancer Research Centre
email: smckinney +at+ bccrc +dot+ ca
tel: 604-675-8000 x7561
BCCRC
Molecular Oncology
675 West 10th Ave, Floor 4
Vancouver B.C.
V5Z 1L3
Canada
-----Original Message-----
From: r-sig-mac-bounces at stat.math.ethz.ch on behalf of stephen sefick
Sent: Mon 12/1/2008 9:43 AM
To: Steve Lianoglou
Cc: R List SIG Mac
Subject: Re: [R-SIG-Mac] installing multiple versions of R
I am just installing the binaries provided without changing anything.
I just downloaded and installed R 2.7.2 and R switch only sees 2.7.2
and not 2.6 or 2.8.
Mac OS X 10.5.5
On Mon, Dec 1, 2008 at 12:15 PM, Steve Lianoglou
<mailinglist.honeypot at gmail.com> wrote:
>> I downloaded the Rswitch application, but the current version and that
>> is the only version that is available even if I push the rediscover
>> button.
>
> Weird ... and you have both versions installed? ie. you have "full" install
> trees under:
>
> /Library/Frameworks/R.framework/Versions/2.7 ; and
> /Library/Frameworks/R.framework/Versions/2.8
> ?
>
> The second approach I outlined (using different versions of R.app) won't
> work either w/o successfully using RSwitch, either (just tried it).
>
> Weird ... not sure what to say if both versions of R are installed
> correctly.
>
> I'm just guessing, but if you change the
> "/Library/Framework/R.framework/Versions/Current" link to point to 2.7
> instead of 2.8, that might work as well (I feel like that's the only thing
> that RSwitch app does, but I'm not certain).
>
> If all of the above isn't working, I guess we'll have to wait for an R/mac
> guru to pop in. What version of OS X are you using and are you using the
> appropriate leopard/tiger builds?
>
> -steve
>
>>
>>
>> On Mon, Dec 1, 2008 at 11:46 AM, Steve Lianoglou
>> <mailinglist.honeypot at gmail.com> wrote:
>>>
>>> Hi Stephen,
>>>
>>> On Dec 1, 2008, at 11:29 AM, stephen sefick wrote:
>>>
>>>> I would like to install R 2.7.2 in || with R 2.8 to test what is wrong
>>>> with a package I am maintaining. It worked fine with R 2.7.2 chron
>>>> 2.3-24 and doesn't work with R 2.8 chron 2.3-24 or chron 2.3-25.
>>>> thanks
>>>
>>>
>>> You can easily do so.
>>>
>>> Just download the appropriate installers for each version and install
>>> them:
>>>
>>> 2.8.x : http://cran.r-project.org/bin/macosx/R-2.8.0.dmg
>>> 2.7.x : http://cran.r-project.org/bin/macosx/old/R-2.7.2.dmg
>>>
>>> FYI, they'll install in:
>>> /Library/Frameworks/R.framework/Versions/2.*
>>>
>>> You can switch between which version to run "at go time" as I described
>>> in
>>> my previous email:
>>> (i) either by using the RSwitch application; or
>>> (ii) by renaming the R.app that's installed to R28.app, and R27.app as
>>> appropriate.
>>>
>>> Both RSwitch and the R guis can be downloaded from:
>>> http://r.research.att.com/
>>>
>>> HTH,
>>> -steve
>>>
>>> ps - I'm not sure of (ii), since I haven't tested it for R27 vs R28 (only
>>> R
>>> in 68bit vs R 32bit, which works), though I believe it works. I have
>>> tested
>>> and previously used (i).
>>>
>>> --
>>> Steve Lianoglou
>>> Graduate Student: Physiology, Biophysics and Systems Biology
>>> Weill Medical College of Cornell University
>>>
>>> http://cbio.mskcc.org/~lianos
>>>
>>>
>>>
>>>
>>
>>
>>
>> --
>> Stephen Sefick
>>
>> Let's not spend our time and resources thinking about things that are
>> so little or so large that all they really do for us is puff us up and
>> make us feel like gods. We are mammals, and have not exhausted the
>> annoying little problems of being mammals.
>>
>> -K. Mullis
>
> --
> Steve Lianoglou
> Graduate Student: Physiology, Biophysics and Systems Biology
> Weill Medical College of Cornell University
>
> http://cbio.mskcc.org/~lianos
>
>
>
>
--
Stephen Sefick
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.
-K. Mullis
_______________________________________________
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