Skip to content
Prev 7637 / 15075 Next

restoring R 2.11.1 while keeping R 2.12

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