You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
R keeps trying to install packages to /usr/local/lib/R/site-library even if personal library chosen during package installation.
When installing a package:
> install.packages('devtools')
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning in install.packages("devtools") :
'lib = "/usr/local/lib/R/site-library"' is not writable
Would you like to use a personal library instead? (y/n) y
And then, after downloading packages:
Error: ERROR: no permission to install to directory ‘/usr/local/lib/R/site-library’
Also, it keeps fetching packages from https://mran.microsoft.com even if a different repo chosen in Rstudio GUI.
The text was updated successfully, but these errors were encountered:
> install.packages('devtools')
Installing package into ‘C:/Users/QED/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
There is a binary version available but the source version is later:
binary source needs_compilation
devtools 2.2.0 2.2.1 FALSE
installing the source package ‘devtools’
trying URL 'https://cran.rstudio.com/src/contrib/devtools_2.2.1.tar.gz'
Content type 'application/x-gzip' length 372273 bytes (363 KB)
downloaded 363 KB
Error: ERROR: no permission to install to directory 'C:/Users/QED/Documents/R/win-library/3.5'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘devtools’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\QED\AppData\Local\Temp\RtmpEZhZXf\downloaded_packages’
> .libPaths()
[1] "C:/Users/QED/Documents/R/win-library/3.5"
[2] "C:/Program Files/R/R-3.5.2/library"
R keeps trying to install packages to
/usr/local/lib/R/site-library
even if personal library chosen during package installation.When installing a package:
And then, after downloading packages:
Also, it keeps fetching packages from
https://mran.microsoft.com
even if a different repo chosen in Rstudio GUI.The text was updated successfully, but these errors were encountered: