Is it possible to update R in the terminal?

macos, osx-mavericks, r, updates, version

Solution

install.packages('devtools') #assuming it is not already installed

library(devtools)

install_github('andreacirilloac/updateR')

library(updateR)

updateR(admin_password = 'Admin user password')

You can find in-depth tutorial on how to use updateR package on this blog

Problem

I was wondering if the is an R command, that allows to update the version of R. So far I only found the command that allows to update installed packages. (By the way: is there a command that checks for all available updates, and starts the Installation) Or do I have to download and install the package, each time there is a new R version available? (in my case from http://cran.r-project.org/bin/macosx/)

Original source