zoukankan      html  css  js  c++  java
  • R 语言安装包出现错误(最难解决的问题)

    In install.packages(update[instlib == l, "Package"], l, repos = repos,  :
      installation of package ‘tinytex’ had non-zero exit status

    Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
      namespace 'xfun' 0.22 is being loaded, but >= 0.23 is required
    Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
    Execution halted
    ERROR: lazy loading failed for package 'tinytex'

    remove.packages("xfun")
    require(devtools)
    install_version("xfun", version = "0.23",repos = "http://cran.us.r-project.org")

      package ‘tinytext’ is not available (for R version 3.6.3)

    Error in library(tinytext) : there is no package called ‘tinytext’

     > install.packages('tinytext')
    --- Please select a CRAN mirror for use in this session ---
    Warning message:
    package ‘tinytext’ is not available (for R version 3.6.3)

     BiocManager::install("tinytext")

    installation of package ‘RCurl’ had non-zero exit status

    原因(解决方法):

    采用不同的安装方法;有些是bioconductor的包,需要用bioconductor安装

    有些是R的版本不匹配 (卸载当前版本,安装旧版本)

    网络速度太慢,或网络连接不通

  • 相关阅读:
    linux上传文件到oss的方法
    centos6.5重装python
    nfs共享文件夹
    mysql报错ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
    搭建网关服务器
    面试总结
    innerText兼容性问题
    Title Case
    Character frequency
    Least Common Multiple
  • 原文地址:https://www.cnblogs.com/emanlee/p/14887038.html
Copyright © 2011-2022 走看看