Problems installing the devtools package

后端 未结 15 2095
耶瑟儿~
耶瑟儿~ 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 15:58

    CentOS 7:

    I tried solutions in this post

    sudo yum -y install libcurl libcurl-devel
    sudo yum -y install openssl-devel
    

    but wasn't enough.

    Checking R error in Console gave me the anwser. In my case it was lacking libxml-2.0 below (and Console printed an explanation with package name to different Linux versions and other possible R configs)

    sudo yum -y install libxml2-devel
    

提交回复
热议问题