Incubator-mxnet: Unable to install mxnet in R 3.6.0 MacOSX

Created on 9 May 2019  Â·  5Comments  Â·  Source: apache/incubator-mxnet

My R sessioninfo:

R version 3.6.0 (2019-04-26)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Mojave 10.14.4

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

locale:
[1] en_AU.UTF-8/en_AU.UTF-8/en_AU.UTF-8/C/en_AU.UTF-8/en_AU.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.6.0 tools_3.6.0

The install is unsuccessful, and the error message is as follow:

> cran <- getOption("repos")
> cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/"
> options(repos = cran)
> install.packages("mxnet")
Warning in install.packages :
  unable to access index for repository https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/bin/macosx/el-capitan/contrib/3.6:
  cannot open URL 'https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/bin/macosx/el-capitan/contrib/3.6/PACKAGES'
installing the source package ‘mxnet’
trying URL 'https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/src/contrib/mxnet_1.3.0.tar.gz'
Warning in install.packages :
  cannot open URL 'https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/src/contrib/mxnet_1.3.0.tar.gz': HTTP status was '404 Not Found'
Error in download.file(url, destfile, method, mode = "wb", ...) : 
  cannot open URL 'https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/src/contrib/mxnet_1.3.0.tar.gz'
Warning in install.packages :
  download of package ‘mxnet’ failed
Installation R

Most helpful comment

@piyushghai I think we should leave this open since it should be a task in the near future to make packages for R v3.6.
Downgrading is just a workaround and not a real fix.

All 5 comments

Hey, this is the MXNet Label Bot.
Thank you for submitting the issue! I will try and suggest some labels so that the appropriate MXNet community members can help resolve it.
Here are my recommended labels: Installation

@mxnet-label-bot add [Installation, R]

Hi @diyang - the packages for R 3.6 aren't out yet. I was able to get it to work after downgrading to R v3.5.3, and choosing the USA (IA) mirror... (60).

@diyang Was the issue resolved for you after Aaron's changes ?

@piyushghai I think we should leave this open since it should be a task in the near future to make packages for R v3.6.
Downgrading is just a workaround and not a real fix.

Was this page helpful?
0 / 5 - 0 ratings