I found a nice post about this but for Leopard in here:
http://onertipaday.blogspot.se/2008/10/r-upgrade-on-mac-os-x-1055-leopard.html
Along with
http://r.research.att.com/man/RMacOSX-FAQ.html#How-can-R-for-Mac-OS-X-be-obtained-and-installed_003f
To reinstall packages from an old version of R to a new one, go into the terminal:
$ R > tmp <- installed.packages() > installedpkgs <- as.vector(tmp[is.na(tmp[,"Priority"]), 1]) > save(installedpkgs, file="installed_old.rda") > quit()
I downloaded the version 3.0.3 of R from http://cran.r-project.org/bin/macosx/
To erase the old R version:
$ sudo rm -rf /Library/Frameworks/R.framework /Applications/R.app /Applications/R64.app $ sudo rm -f /usr/bin/R /usr/bin/Rscript /usr/bin/R32 /usr/bin/R64I installed the new version just with double-clicking to the downloaded package. From here I just followed all the commands of Paolo in the first link provided above.
No comments:
Post a Comment