Skip to content
Prev 8292 / 15076 Next

Install multiple versions of R on Mac

On Aug 15, 2011, at 7:24 PM, Steven McKinney wrote:

            
R.app is always tied to a particular R version, because it's compiled against R (the path to libR.dylib contains the version). So you can only use R.app with the version of R it was compiled against. RSwitch only makes one of the other frameworks "Current", it has no effect on the R.apps on your machine.

As Steven pointed out you have to move/copy your R.app/R64.app out of the way to keep them separate for each R version. Alternatively you can also download them separately from the R.research.att.com pages. It doesn't matter how you name them or where you put them. The installation process will keep your old R.apps if they are not in Applications (which is not standard on Mac OS X but very useful for having multiple R versions).

Cheers,
Simon