install.R function

Downloads and installs the latest R version