Updating r

26 Aug

## Download latest R tarball wget ## Un-tar it tar -xvf R-3.4-branch-el-capitan-sa-x86_64gz ## Renamed files from 3.4 to 3.4 devel mv Library/Frameworks/R.framework/Versions/3.4 Library/Frameworks/R.framework/Versions/3.4devel ## Put it back in a tar ball tar -cvzf Library ## Install it sudo tar fvxz -C / ## Reproducibility info library('devtools') options(width = 120) session_info() ## Session info ----------------------------------------------------------------------------------------------------------- ## setting value ## version R version 3.4.0 (2017-04-21) ## system x86_64, darwin15.6.0 ## ui X11 ## language (EN) ## collate en_US.

Main reason was that my current version R-3.2.1 did not support some new graphic packages.

@agstudy I recommend that you add to your answer that you must close and reopen RStudio (or restart RStudio, whichever wording you prefer).

The "Then you change the path in your Rstudio option : Tools - For completeness, the answer is: you can't do that from within RStudio.

and now you can continue on with your analysis 😄 You didn’t even need to figure out the best order to install the packages!

Some of your favorite R packages might only exist via Git Hub.

Library command for your old version of R, and your new version of R.

It is possible that your old version of R might have had some packages that were out of date, and that you clobbered the newer version.

updating r-41updating r-89updating r-11updating r-69

After a bit of initial hesitation (will I lose my packages during the new installation? etc.) I finally took some courage and decided to follow the official documentation on CRAN.This strategy helps you identify packages that have been installed in your old version of R so you can then reinstall the into your new version of R.You can install packages into your new version of R by choosing, from the pulldown menu, Packages and then Install Packages from CRAN.You installed a new version of R, but it does not have many of the packages you had installed in your previous version of R. Library command to see where your libraries (packages) are stored.In fact, you just want to copy the library directory that you used from your old copy of R to your new copy of R. If you install a new version of R, you could execute the .