美文网首页生信学习-Linux系统
linux学习100篇24: ?install.packages

linux学习100篇24: ?install.packages

作者: PhageNanoenzyme | 来源:发表于2021-05-27 00:30 被阅读0次
    • 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

        本文链接:https://www.haomeiwen.com/subject/matrsltx.html