devtools::install_github Error in function (type, msg, asError = TRUE) : <not set>

北城余情 提交于 2019-11-30 07:14:49

Actually, I had the same issue and after installing RCurl it worked.

In order to install RCurl in ubuntu, write the following in your terminal:

sudo apt-get install libcurl4-openssl-dev

Then in R:

install.packages('RCurl')

And that's it!

If you can't install the appropriate version of libcurl, you can try using the "install_git" function instead of "install_github". For example,

library(devtools)
install_git("https://github.com/hadley/devtools.git")

That worked for me.

Sorry, this was a bug in the r-cran-rcurl package in Debian. We eventually corrected it in the Debian distribution unstable, testing, and more recently stable (Jessie 8.2). In Ubuntu it is fixed in wily. Sorry for the problem, and thanks for using Debian or its derivatives !

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!