I'm getting the latest:
install.packages("installr")
library(installr)
updateR()
BTW I selected No when prompted this because I don't have RGui.
It is best to run 'updateR()' from Rgui and not from RStudio. Would you like to abort the installation and run it again from RGui?
I'm getting this error when I run updateR().
Installing the newest version of R,
** please wait for the installer file to be download and executed.**
** Be sure to click 'next' as needed...**
trying URL 'https://cran.rstudio.com/bin/windows/base/R-3.6.2-win.exe'
Content type 'application/x-msdownload' length 86419784 bytes (82.4 MB)
downloaded 82.4 MB
The file was downloaded succesfully into:
** C:\Users\tina\AppData\Local\Temp\RtmpScgENs/R-3.6.2-win.exe **
Running the installer now...
Installation status: TRUE . Removing the file:
** C:\Users\tina\AppData\Local\Temp\RtmpScgENs/R-3.6.2-win.exe **
** (In the future, you may keep the file by setting keep_install_file=TRUE) **
We can not seem to find the location if the new R you have installed.
The rest of the updating process is aborted, please take care to copy
your packages to the new R installation.
[1] TRUE