Skip to content

restoring R 2.11.1 while keeping R 2.12

3 messages · Ken Knoblauch, David Winsemius

#
Hi,

What's the cleanest way to restore R  2.11.1 without clobbering R 2.12?
I know that pkgutil can be used to forget old receipts in order to upgrade
to a higher version of R while retaining the lower one and then Rswitch
can be used to choose the one to run.  But, this didn't seem to work in
the reverse direction, i.e., I have R 2.12 patched installed and I tried
to install R 2.11.1 after running pkgutil.  Rswitch did not record that
R 2.11.1 had been installed and the GUI bombed out on startup (I probably
have to install the R 2.11.1 GUI separately).  

Do I have to uninstall R 2.12 before reinstalling R 2.11.1 and then do
use pkgutils, or is there a simpler way?

The reason for wanting to do this is that I need to process some documents 
using Sweave that use the cacheSweave package, which currently is not
working correctly with R 2.12, even though an update has been promised 
imminently.

Thank you.

Ken
#
Installing R 2.12.0 did not overwrite my old 2.11 folder in :
/Library/Frameworks/R.framework/Versions/2.11

RSwitch is able to launch (some) old versions, but I am not sure about  
all. (I now have a collection going back to 2.7)

http://r.research.att.com/RSwitch-1.1.dmg
#
David Winsemius <dwinsemius <at> comcast.net> writes:
My versions go back to 2.3 on this particular laptop, but that's not
the point.  To be able to switch between versions with Rswitch, 
the pkgutil --forget etc. must be run prior to upgrading as described
in one of the startup screens of the installer.  This has worked for me,
too, in the past, but it didn't seem to work in trying to reinstall a previous
version and I'm wondering if there is an easy way to do that, or if I missed
something in the way I tried.  Thanks.

Ken