Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/68.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法在使用代理服务器的工作计算机上安装mlr包_R_Installation_Mlr - Fatal编程技术网

无法在使用代理服务器的工作计算机上安装mlr包

无法在使用代理服务器的工作计算机上安装mlr包,r,installation,mlr,R,Installation,Mlr,我的工作电脑上有R和R studio,我正在尝试下载并使用这个不平衡的软件包。 每次我尝试,但它告诉我,依赖mlr将不会被下载 install.packages("mlr") Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘mlr’ These will not be installed 我在另一个帖子上读到,这可能是因为Rtools不是最新的。检查

我的工作电脑上有R和R studio,我正在尝试下载并使用这个不平衡的软件包。 每次我尝试,但它告诉我,依赖mlr将不会被下载

 install.packages("mlr")
Package which is only available in source form, and may need compilation of
  C/C++/Fortran: ‘mlr’
  These will not be installed
我在另一个帖子上读到,这可能是因为Rtools不是最新的。检查过了

install.Rtools()
Loading required namespace: devtools
No need to install Rtools - You've got the relevant version of Rtools installed
试图通过github下载,但它超时了,尽管我怀疑是否需要先登录才能让它工作

devtools::install_github("mlr-org/mlr")
Downloading GitHub repo mlr-org/mlr@master
from URL https://api.github.com/repos/mlr-org/mlr/zipball/master
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Timeout was reached

真正奇怪的是,我可以在这台电脑上下载其他软件包,而在我的个人电脑上,它可以毫无问题地下载

编辑我检查了我在两台机器上使用的镜像,它是相同的(),因此这不是问题所在。 我还使用了下面第一条评论的答案中建议的调整选项,但失败了

options(download.file.method = "wininet")
> devtools::install_github("mlr-org/mlr")
Downloading GitHub repo mlr-org/mlr@master
from URL https://api.github.com/repos/mlr-org/mlr/zipball/master
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Timeout was reached
有什么想法吗?我有点迷路了,只能考虑寻找另一个包来重新平衡我的数据。

J

更新到
r3.3.0
后,我出现了相同的错误。cran当前的rel/dev版本似乎不可用,不知道这是什么原因,但我是通过直接从下载
.zip
2.8 oldrel来工作的。

更新到
R3.3.0
后,我遇到了相同的错误。cran当前的rel/dev版本似乎不可用,不知道这是什么原因,但我是通过直接从下载
.zip
2.8 oldrel来实现的。

我们的发布包有点慢,devtools、testthat和ggplot中的多次更改对此没有帮助

现在一切都应该开始了

将来也会考虑在GITHUB跟踪器中对我们大喊大叫。< / P> 最好的


bernd

我们在发布包方面有点慢,devtoools、testthat和ggplot中的多次更改对此没有帮助

现在一切都应该开始了

将来也会考虑在GITHUB跟踪器中对我们大喊大叫。< / P> 最好的


bernd

我可以下载其他软件包,也尝试了其他镜像。不过,那是今天下午,当时它调整了整个cran,所以明天也会尝试。为了确认我尝试了镜像的更改,但没有成功,您也可以从github下载整个存储库并在本地安装。尝试了之后,出现了错误。。。如果我做错了,明天将支付错误。可能的副本我可以下载其他软件包,也可以尝试其他镜像。不过,那是今天下午,当时它调整了整个cran,所以明天也会尝试。为了确认我尝试了镜像的更改,但没有成功,您也可以从github下载整个存储库并在本地安装。尝试了之后,出现了错误。。。如果我做错了,我明天会赔偿错误的。