本文介绍了在R中安装mxnet软件包时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

mxnet软件包未安装在r中(在Windows 10上).

mxnet package is not installing in r (on windows 10) when I follow the steps given in its documentation.

install.packages("drat", repos="https://cran.rstudio.com")
drat:::addRepo("dmlc")
install.packages("mxnet")

它给出以下结果

尝试URL' http://dmlc.github.io /drat/src/contrib/mxnet_0.5.tar.gz ' install.packages中的警告:无法打开URL ' http://dmlc.github.io/drat/src/contrib/mxnet_0.5.tar.gz ':HTTP状态 download.file(URL,destfile,方法,模式中为"404 Not Found"错误) ="wb",...):无法打开URL' http ://dmlc.github.io/drat/src/contrib/mxnet_0.5.tar.gz '中的警告 install.packages:软件包"mxnet"的下载失败

trying URL 'http://dmlc.github.io/drat/src/contrib/mxnet_0.5.tar.gz' Warning in install.packages : cannot open URL 'http://dmlc.github.io/drat/src/contrib/mxnet_0.5.tar.gz': HTTP status was '404 Not Found' Error in download.file(url, destfile, method, mode = "wb", ...) : cannot open URL 'http://dmlc.github.io/drat/src/contrib/mxnet_0.5.tar.gz' Warning in install.packages : download of package ‘mxnet’ failed

请帮助我解决此问题.我正在使用R版本3.3.0.还有其他在R中安装它的方法吗?

Kindly help me resolve this issue. I'm using R version 3.3.0. Is there any other way of installing it in R?

推荐答案

对我唯一有效的方法是将mxnet.zip文件下载到一个文件夹(将其设置为工作目录)并键入:

The only thing that worked for me was to download the mxnet.zip file to a folder, (set it as working directory) and type:

install.packages("mxnet.zip", repos=NULL, type="win.binary")

这篇关于在R中安装mxnet软件包时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-03 23:58
查看更多