Skip to content

Instantly share code, notes, and snippets.

@martinctc
Created November 5, 2016 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinctc/8e80c6f97be864b6bfbd91fa5e533038 to your computer and use it in GitHub Desktop.
Save martinctc/8e80c6f97be864b6bfbd91fa5e533038 to your computer and use it in GitHub Desktop.
Check and Update R
# installing/loading the package:
if(!require(installr)) {
install.packages("installr"); require(installr)} #load / install+load installr
# using the package:
updateR() # this will start the updating process of your R installation. It will check for newer versions, and if one is available, will guide you through the decisions you'd need to make.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment