Installing MXNet package in R

I am having many problems trying to install MXNet package in R I am using 3.4.0 R version and using Windows 10 Intel i3 processor, x64 based 64bit processor.

I get the prompt:

install.packages("mxnet")
Warning in install.packages :
  cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/src/contrib/PACKAGES.rds': HTTP status was '404 Not Found'
Installing package into β€˜C:/Users/los40/OneDrive/Documentos/R/win-library/3.4
(as β€˜lib is unspecified)
Warning in install.packages :
  package β€˜mxnet is not available (for R version 3.4.0)
Warning in install.packages :
  cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.4/PACKAGES.rds': HTTP status was '404 Not Found'

      

I tried to download the .rar files provided here. I unpack one and get a folder that says "R package" trying to install it using:

> install.packages('R.package.rar', lib='D:/mxnet',repos = NULL)
Error in install.packages : type == "both" cannot be used with 'repos = NULL'
> install.packages('R.package.rar', lib='D:/mxnet')
Warning in install.packages :
  package β€˜R.package.rar is not available (for R version 3.4.0)

      

The guide found at http://mxnet.io/get_started/windows_setup.html doesn't make any sense to me as I can't find the file needed during the pre-build package installation steps in windows named setupenv.cmd

+6


source to share


4 answers


To mxnet

install a package in R using this command for CPU only



cran <- getOption("repos")
cran["dmlc"] <- "https://s3-us-west-2.amazonaws.com/apache-mxnet/R/CRAN/"
options(repos = cran)
install.packages("mxnet",dependencies = T)
library(mxnet)

      

+17


source


Please try the following line:



cran <- getOption("repos")
cran["dmlc"] <- "https://s3.amazonaws.com/mxnet-r/"
options(repos = cran)
install.packages("mxnet")

      

0


source


For Rstudio package mxnet is not available so you can install alternative packages like neuralnet or nnet

0


source


For Windows, if you want to install "mxnet". Use the following command:

cran <- getOption("repos")
cran["dmlc"] <- "https://s3-us-west-2.amazonaws.com/apache-mxnet/R/CRAN/"
options(repos = cran)
install.packages("mxnet",dependencies = T)
library(mxnet)

      

0


source







All Articles