Problems installing the devtools package

后端 未结 15 1929
耶瑟儿~
耶瑟儿~ 2020-11-29 15:32

I wish to use the devtools package. I\'ve run the following commands:

> install.packages(\"devtools\", dependencies = TRUE)
....
> library         


        
相关标签:
15条回答
  • 2020-11-29 16:07

    For my Debian Jessie box, I also included:

    sudo apt-get build-dep libxml2-dev
    

    Hint: The r-tool console output is pretty verbose so I would check for any other dependencies.

    Then, I finally got it:

    > find_rtools()
    [1] TRUE
    
    0 讨论(0)
  • 2020-11-29 16:08

    For ubuntu users, run this command in your terminal [Tested in UBUNTU 16.04]

    sudo apt-get -y install libcurl4-openssl-dev
    

    post this install libraries the way you usually do in R using

    install.packages("package name")
    
    0 讨论(0)
  • 2020-11-29 16:08

    I worked through a number of issues installing all of the following to get devtools to install on Ubuntu 18.04.1.

    sudo apt-get install libcurl4-openssl-dev
    sudo apt-get install libssl-dev
    sudo apt-get install libcurl4-gnutls-dev
    sudo apt-get install libxml2-dev
    
    0 讨论(0)
提交回复
热议问题