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/05/03 04:31:58 UTC

[GitHub] apshreyans opened a new issue #10791: Unable to install mxnet in R 3.5.0

apshreyans opened a new issue #10791: Unable to install mxnet in R 3.5.0
URL: https://github.com/apache/incubator-mxnet/issues/10791
 
 
   Note: Providing complete information in the most concise form is the best way to get help. This issue template serves as the checklist for essential information to most of the technical issues and bug reports. For non-technical issues and feature requests, feel free to present the information in what you believe is the best form.
   
   For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io 
   
   ## Description
   Installation error on RStudio R 3.5.0
   Error:   unable to access index for repository https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU/bin/windows/contrib/3.5:
     cannot open URL 'https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU/bin/windows/contrib/3.5/PACKAGES'
   
   **Command Run:**
   cran <- getOption("repos")
   cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/"
   options(repos = cran)
   install.packages("mxnet")
   
   
   (Brief description of the problem in no more than 2 sentences.)
   
   ## Environment info (Required)
   R version 3.5.0 (2018-04-23) -- "Joy in Playing"
   Copyright (C) 2018 The R Foundation for Statistical Computing
   Platform: x86_64-w64-mingw32/x64 (64-bit)
   
   Package used (Python/R/Scala/Julia):
   **(I'm using R 3.5.0)**
   
   For R user, please provide R `sessionInfo()`:
   **SessionInfo():**
   > sessionInfo()
   R version 3.5.0 (2018-04-23)
   Platform: x86_64-w64-mingw32/x64 (64-bit)
   Running under: Windows 7 x64 (build 7601) Service Pack 1
   
   Matrix products: default
   
   locale:
   [1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
   [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
   [5] LC_TIME=English_United States.1252    
   
   attached base packages:
   [1] stats     graphics  grDevices utils     datasets  methods   base     
   
   loaded via a namespace (and not attached):
   [1] compiler_3.5.0 tools_3.5.0  
   
   ## Build info (Required if built from source)
   
   Compiler (gcc/clang/mingw/visual studio):
   
   MXNet commit hash:
   (Paste the output of `git rev-parse HEAD` here.)
   
   Build config:
   (Paste the content of config.mk, or the build command.)
   
   ## Error Message:
   (Paste the complete error message, including stack trace.)
   
    no package 'knitr' was found
   > install.packages('mxnet')
   Installing package into ‘\\homedrive$/Shreyans.Bathiyan/R/win-library/3.5’
   (as ‘lib’ is unspecified)
   Warning in install.packages :
     package ‘mxnet’ is not available (for R version 3.5.0)
   Error: invalid version specification ‘NA’
   In addition: Warning message:
   In utils:::packageDescription(packageName, fields = "Version") :
     no package 'knitr' was found
   > cran <- getOption("repos")
   > cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU"
   > options(repos = cran)
   > install.packages("mxnet")
   Error in install.packages : Updating loaded packages
   
   Restarting R session...
   
   > install.packages("mxnet")
   Installing package into ‘\\homedrive$/Shreyans.Bathiyan/R/win-library/3.5’
   (as ‘lib’ is unspecified)
   also installing the dependencies ‘bindr’, ‘brew’, ‘colorspace’, ‘utf8’, ‘gtable’, ‘reshape2’, ‘lazyeval’, ‘assertthat’, ‘bindrcpp’, ‘pkgconfig’, ‘R6’, ‘BH’, ‘plogr’, ‘digest’, ‘yaml’, ‘hms’, ‘XML’, ‘Rook’, ‘dichromat’, ‘plyr’, ‘munsell’, ‘labeling’, ‘viridisLite’, ‘cli’, ‘crayon’, ‘pillar’, ‘tidyselect’, ‘ggplot2’, ‘gridExtra’, ‘dplyr’, ‘downloader’, ‘glue’, ‘htmltools’, ‘htmlwidgets’, ‘igraph’, ‘influenceR’, ‘purrr’, ‘RColorBrewer’, ‘readr’, ‘rlang’, ‘rstudioapi’, ‘rgexf’, ‘scales’, ‘tibble’, ‘tidyr’, ‘viridis’, ‘stringi’, ‘Rcpp’, ‘DiagrammeR’, ‘visNetwork’, ‘data.table’, ‘jsonlite’, ‘magrittr’, ‘stringr’
   
   Warning in install.packages :
     unable to access index for repository https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU/bin/windows/contrib/3.5:
     cannot open URL 'https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU/bin/windows/contrib/3.5/PACKAGES'
   
     There is a binary version available but the source version is later:
           binary source needs_compilation
   stringi  1.1.7  1.2.2              TRUE
   
     Binaries will be installed
   Package which is only available in source form, and may need compilation of
     C/C++/Fortran: ‘mxnet’
   
   
   Kindly help me installing mxnet package.

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