zoukankan      html  css  js  c++  java
  • Failed to install 'TwoSampleMR' from GitHub

     R

    Run as Administrator:

    install.packages('devtools')

    install.packages("fansi")

    library('devtools')

    install_github("MRCIEU/ieugwasr")

    
    
    install_github("WSpiller/RadialMR")

    library('devtools')
    install_github("MRCIEU/TwoSampleMR")


    Error: Failed to install 'TwoSampleMR' from GitHub:
      Failed to install 'ieugwasr' from GitHub:
      (converted from warning) cannot remove prior installation of package ‘fansi’

    install_github("MRCIEU/ieugwasr")
    package ‘fansi’ successfully unpacked and MD5 sums checked
    Error: Failed to install 'ieugwasr' from GitHub:
      (converted from warning) cannot remove prior installation of package ‘fansi’

    package ‘fansi’ successfully unpacked and MD5 sums checked
    Warning: cannot remove prior installation of package ‘fansi’
    Warning: restored ‘fansi’

    The downloaded binary packages are in
            C:UsersAdministratorAppDataLocalTempRtmpyYxbxEdownloaded_packages
    Warning message:
    In file.copy(savedcopy, lib, recursive = TRUE) :
      problem copying E:EprogramfilesRR-3.6.3library0LOCKfansilibsx64fansi.dll to E:EprogramfilesRR-3.6.3libraryfansilibsx64fansi.dll: Permission denied
    >

     

    package ‘fansi’ successfully unpacked and MD5 sums checked
    Error: Failed to install 'TwoSampleMR' from GitHub:
      Failed to install 'ieugwasr' from GitHub:
      (converted from warning) cannot remove prior installation of package ‘fansi’
    > library('devtools')
    > install_github("MRCIEU/TwoSampleMR")
    WARNING: Rtools is required to build R packages, but is not currently installed.

    Please download and install Rtools 3.5 from https://cran.r-project.org/bin/windows/Rtools/.
    Error: Failed to install 'TwoSampleMR' from GitHub:
      Timeout was reached: [api.github.com] Resolving timed out after 10000 milliseconds
    >

     * installing *source* package ‘nloptr’ ...
    ** 成功将‘nloptr’程序包解包并MD5和检查
    ** using staged installation
    checking whether the C++ compiler works... no
    configure: error: in `/tmp/RtmprbHEyq/R.INSTALL56bd8c55d00/nloptr':
    configure: error: C++ compiler cannot create executables
    See `config.log' for more details
    ERROR: configuration failed for package ‘nloptr’
    * removing ‘/usr/lib64/R/library/nloptr’

    下载的程序包在
        ‘/tmp/RtmpoQ86CC/downloaded_packages’里
    更新'.Library'里的HTML程序包列表
    Making 'packages.html' ... 做完了。
    Warning message:
    In install.packages("nloptr") : 安装程序包‘nloptr’时退出狀態的值不是0

    package ‘processx’ successfully unpacked and MD5 sums checked
    Error: Failed to install 'RadialMR' from GitHub:
      (converted from warning) cannot remove prior installation of package ‘processx’

    package ‘processx’ successfully unpacked and MD5 sums checked
    Error: Failed to install 'TwoSampleMR' from GitHub:
      Failed to install 'RadialMR' from GitHub:
      (converted from warning) cannot remove prior installation of package ‘processx’
    > remove.packages('processx')
    Removing package from ‘E:/Eprogramfiles/R/R-3.6.3/library’
    (as ‘lib’ is unspecified)
    Error in find.package(pkgs, lib) : there is no package called ‘processx’

  • 相关阅读:
    硬件重定向
    ARM处理器模式切换(含MRS,MSR指令)
    ARM处理器工作模式
    ARM处理器异常处理
    JS和H5做一个音乐播放器,附带源码
    php页面zend加密乱码的解决办法
    ZendOptimizer怎么安装?Php网站打开显示乱码
    PHP和Python如何选择?或许可以考虑这三个问题
    SQL Server 2008读书笔记(3):表
    Dijkstra算法
  • 原文地址:https://www.cnblogs.com/emanlee/p/14475158.html
Copyright © 2011-2022 走看看