You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/08/22 18:53:06 UTC
[GitHub] riddhidutta123 opened a new issue #12294: MXNET installation and
library failing in R
riddhidutta123 opened a new issue #12294: MXNET installation and library failing in R
URL: https://github.com/apache/incubator-mxnet/issues/12294
I'm trying to install MXNET in R and use the library.
**Step1**: # Install the package
install.packages("drat", repos="https://cran.rstudio.com")
drat:::addRepo("dmlc")
install.packages("mxnet")
**Comment in console:**
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/drat_0.1.4.tgz'
Content type 'application/x-gzip' length 64654 bytes (63 KB)
==================================================
downloaded 63 KB
The downloaded binary packages are in
/var/folders/rq/vv5bw20n3nv91pccc5krh55h0000gn/T//RtmpWtd63g/downloaded_packages
**Step2:**#install the library
library(mxnet)
**Error**
Error: package or namespace load failed for ‘mxnet’:
.onLoad failed in loadNamespace() for 'mxnet', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mxnet/libs/libmxnet.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mxnet/libs/libmxnet.so, 10): Library not loaded: /usr/local/opt/openblas/lib/libopenblasp-r0.3.1.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/mxnet/libs/libmxnet.so
Reason: image not found
In addition: Warning message:
replacing previous import ‘scales::viridis_pal’ by ‘viridis::viridis_pal’ when loading ‘DiagrammeR’
*****************************
**Below is my sessioninfo:**
R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12.6
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.5/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] Rcpp_0.12.18 pillar_1.3.0 compiler_3.5.1 RColorBrewer_1.1-2 influenceR_0.1.0 plyr_1.8.4 bindr_0.1.1 viridis_0.5.1 tools_3.5.1
[10] digest_0.6.15 jsonlite_1.5 tibble_1.4.2 gtable_0.2.0 viridisLite_0.3.0 rgexf_0.15.3 pkgconfig_2.0.2 rlang_0.2.2 igraph_1.2.2
[19] rstudioapi_0.7 yaml_2.2.0 bindrcpp_0.2.2 gridExtra_2.3 stringr_1.3.1 DiagrammeR_0.9.0 dplyr_0.7.6 htmlwidgets_1.2 grid_3.5.1
[28] tidyselect_0.2.4 glue_1.3.0 R6_2.2.2 Rook_1.1-1 XML_3.98-1.16 ggplot2_3.0.0 purrr_0.2.5 magrittr_1.5 scales_1.0.0
[37] htmltools_0.3.6 assertthat_0.2.0 colorspace_1.3-2 brew_1.0-6 stringi_1.2.4 visNetwork_2.0.4 lazyeval_0.2.1 munsell_0.5.0 crayon_1.3.4
***********************************
Can you please help?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services