linux学习100篇24: ?install.packages("uwot")

  • DONE (devtools)

The downloaded source packages are in
'/tmp/RtmpmIhiAi/downloaded_packages'

> install.packages("uwot")
Installing package into '/usr/local/lib/R/site-library'
(as 'lib' is unspecified)
also installing the dependency 'RSpectra'

trying URL 'https://cloud.r-project.org/src/contrib/RSpectra_0.16-0.tar.gz'
Content type 'application/x-gzip' length 125821 bytes (122 KB)
==================================================
downloaded 122 KB

trying URL 'https://cloud.r-project.org/src/contrib/uwot_0.1.10.tar.gz'
Content type 'application/x-gzip' length 96150 bytes (93 KB)
==================================================
downloaded 93 KB

ERROR: failed to lock directory '/usr/local/lib/R/site-library' for modifying
Try removing '/usr/local/lib/R/site-library/00LOCK-RSpectra'
ERROR: dependency 'RSpectra' is not available for package 'uwot'
* removing '/usr/local/lib/R/site-library/uwot'

The downloaded source packages are in
    '/tmp/RtmpmIhiAi/downloaded_packages'
Warning messages:
1: In install.packages("uwot") :
  installation of package 'RSpectra' had non-zero exit status
2: In install.packages("uwot") :
  installation of package 'uwot' had non-zero exit status
image.png
> install.packages("RSpectra")
Installing package into '/usr/local/lib/R/site-library'
(as 'lib' is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/RSpectra_0.16-0.tar.gz'
Content type 'application/x-gzip' length 125821 bytes (122 KB)
==================================================
downloaded 122 KB

ERROR: failed to lock directory '/usr/local/lib/R/site-library' for modifying
Try removing '/usr/local/lib/R/site-library/00LOCK-RSpectra'

The downloaded source packages are in
    '/tmp/RtmpmIhiAi/downloaded_packages'
Warning message:
In install.packages("RSpectra") :
  installation of package 'RSpectra' had non-zero exit status

如何进入 /usr/local/lib/R/site-library/00LOCK-RSpectra 文件夹

你可能感兴趣的:(linux学习100篇24: ?install.packages("uwot"))