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/07 22:41:40 UTC

[GitHub] anirudhacharya commented on issue #12066: Unable to library the package "mxnet" in R 3.5.1 on Mac

anirudhacharya commented on issue #12066: Unable to library the package "mxnet" in R 3.5.1 on Mac
URL: https://github.com/apache/incubator-mxnet/issues/12066#issuecomment-411225988
 
 
   @Ruoyu-Qian Following is the run of an install I did just now - 
   ```
   > cran <- getOption("repos")
   > cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/"
   > options(repos = cran)
   > install.packages("mxnet")
   --- Please select a CRAN mirror for use in this session ---
   trying URL 'https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/bin/macosx/el-capitan/contrib/3.5/mxnet_1.3.0.tgz'
   Content type 'application/x-tar' length 10369234 bytes (9.9 MB)
   ==================================================
   downloaded 9.9 MB
   
   
   The downloaded binary packages are in
   	/tmp/RtmpiP4NbO/downloaded_packages
   > library(mxnet)
   > 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: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRblas.0.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     
   
   other attached packages:
   [1] mxnet_1.3.0
   
   loaded via a namespace (and not attached):
    [1] Rcpp_0.12.17       pillar_1.2.3       compiler_3.5.1     RColorBrewer_1.1-2
    [5] influenceR_0.1.0   plyr_1.8.4         bindr_0.1.1        viridis_0.5.1     
    [9] tools_3.5.1        digest_0.6.15      jsonlite_1.5       viridisLite_0.3.0 
   [13] gtable_0.2.0       tibble_1.4.2       rgexf_0.15.3       pkgconfig_2.0.1   
   [17] rlang_0.2.1        igraph_1.2.1       rstudioapi_0.7     bindrcpp_0.2.2    
   [21] gridExtra_2.3      downloader_0.4     DiagrammeR_1.0.0   dplyr_0.7.6       
   [25] stringr_1.3.1      htmlwidgets_1.2    hms_0.4.2          grid_3.5.1        
   [29] tidyselect_0.2.4   glue_1.2.0         R6_2.2.2           tcltk_3.5.1       
   [33] Rook_1.1-1         XML_3.98-1.11      readr_1.1.1        purrr_0.2.5       
   [37] tidyr_0.8.1        ggplot2_3.0.0      magrittr_1.5       codetools_0.2-15  
   [41] scales_0.5.0       htmltools_0.3.6    assertthat_0.2.0   colorspace_1.3-2  
   [45] brew_1.0-6         stringi_1.2.3      visNetwork_2.0.4   lazyeval_0.2.1    
   [49] munsell_0.5.0  
   ```
   
   The difference seems to be in your BLAS installation, mine has
   ```
   BLAS: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRblas.0.dylib
   ```
   whereas yours has 
   ```
   BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
   ```
   
   Can you please recheck your ``openblas`` installation and try again?

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