Installation of package ‘forecast’ had non-zero exit status

后端 未结 2 769
野性不改
野性不改 2021-01-20 02:07

With R version 3.2.3 (2015-12-10) on centOS I am trying to install.packages(\'forecast\')

I get this:

i

相关标签:
2条回答
  • 2021-01-20 02:41

    Install devtools. Most of the time the problem in installing R packages is that these tools are not there. Once this is installed, the zero exit error goes away.

    install.packages('devtools')
    

    https://www.digitalocean.com/community/tutorials/how-to-install-r-packages-using-devtools-on-ubuntu-16-04

    0 讨论(0)
  • 2021-01-20 02:51

    On UBUNTU 18.04 I got the following

    Configuration failed because libcurl was not found. Try installing: * deb: libcurl4-openssl-dev (Debian, Ubuntu, etc) * rpm: libcurl-devel (Fedora, CentOS, RHEL) * csw: libcurl_dev (Solaris)

    I installed the package libcurl14-openssl-dev using synaptic, that solved the problem.

    0 讨论(0)
提交回复
热议问题