user17272496
user17272496

Reputation: 11

Why am I unable to update R

I cannot seem to update my version of R.

Despite installing the latest R from Cran-r, when I check my version it comes back as version 3.6.1.

I have tried installr and updateR() but unfortunately I get the following message:

Installation status: TRUE . Removing the file: C:\Users\sarah\AppData\Local\Temp\RtmpiSuYSt/R-4.1.1-win.exe
(In the future, you may keep the file by setting keep_install_file=TRUE)

We can not seem to find the location of 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

I am grateful for any help you could offer.

Many thanks

Upvotes: 1

Views: 2881

Answers (1)

Pablo Herreros Cantis
Pablo Herreros Cantis

Reputation: 575

I was running into the same problem, and I managed to solving it by browsing to ensure that the new R version is downloaded to the same folder containing the older installation. During the error, the new R installation was creating a new R folder in a different directory. I browsed and found a n already existing R folder somewhere else (in my case, the Documents folder for some reason). Storing the new version there solved it.

Upvotes: 2

Related Questions