Issue in installation of mxnet package in R

心已入冬 提交于 2019-12-04 17:27:17

I was able to install it successfully by first downloading its zip file from the following link

https://github.com/dmlc/drat/tree/gh-pages/bin/windows/contrib/3.2

and then installing it using RStudio.

I hope this answer will help anyone else facing the same problem.

I had the same issue and was able to resolve it by following the instructions on this page and choosing the correct OS, Language and CPU/GPU options: http://mxnet.io/get_started/install.html

Pablo Naret

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")

You can try using different repo in repos.

Otherwise you can download the drat package along with dependencies and install manually.

Check if these URLs are accessible from your machine or not.

Following links will be helpful for you:
http://mxnet-bing.readthedocs.io/en/latest/build.html#r-package-installation https://github.com/dmlc/mxnet/issues/1085

Wordsmyth

The more up-to-date Installation Guide is currently located here: http://mxnet.io/get_started/setup.html#installing-mxnet

I found the paragraph about the installation of the R-package on Windows to be very well written.

By the way, the install.packages("mxnet") command installs a very long tool chain, so it might happen that a package is currently not indexed correctly in the dmlc-repo (i.e. because it was just updated to a newer version on CRAN): Error: package <pkgname> is not available for R version 3.3.1 So you might want to install the "offending" package from the CRAN (or download the sourcecode and use something like install.packages(file.choose(), repos = NULL, type = "source")), then continue with another call to install.packages("mxnet").

try these commands to install mxnet package:--

cran <- getOption("repos")
cran["dmlc"] <- "https://s3-us-west-2.amazonaws.com/apache-mxnet/R/CRAN/"
options(repos = cran)
install.packages("mxnet")
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!