{"action":"closed","issue":{"url":"https://api.github.com/repos/dmlc/mxnet/issues/6137","repository_url":"https://api.github.com/repos/dmlc/mxnet","labels_url":"https://api.github.com/repos/dmlc/mxnet/issues/6137/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/mxnet/issues/6137/comments","events_url":"https://api.github.com/repos/dmlc/mxnet/issues/6137/events","html_url":"https://github.com/dmlc/mxnet/issues/6137","id":226764987,"number":6137,"title":"OSX - R - mxnet 0.9.5 installation error.","user":{"login":"coforfe","id":8349230,"avatar_url":"https://avatars2.githubusercontent.com/u/8349230?v=3","gravatar_id":"","url":"https://api.github.com/users/coforfe","html_url":"https://github.com/coforfe","followers_url":"https://api.github.com/users/coforfe/followers","following_url":"https://api.github.com/users/coforfe/following{/other_user}","gists_url":"https://api.github.com/users/coforfe/gists{/gist_id}","starred_url":"https://api.github.com/users/coforfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coforfe/subscriptions","organizations_url":"https://api.github.com/users/coforfe/orgs","repos_url":"https://api.github.com/users/coforfe/repos","events_url":"https://api.github.com/users/coforfe/events{/privacy}","received_events_url":"https://api.github.com/users/coforfe/received_events","type":"User","site_admin":false},"labels":[{"id":270131542,"url":"https://api.github.com/repos/dmlc/mxnet/labels/R-Package","name":"R-Package","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":{"login":"thirdwing","id":1547093,"avatar_url":"https://avatars1.githubusercontent.com/u/1547093?v=3","gravatar_id":"","url":"https://api.github.com/users/thirdwing","html_url":"https://github.com/thirdwing","followers_url":"https://api.github.com/users/thirdwing/followers","following_url":"https://api.github.com/users/thirdwing/following{/other_user}","gists_url":"https://api.github.com/users/thirdwing/gists{/gist_id}","starred_url":"https://api.github.com/users/thirdwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thirdwing/subscriptions","organizations_url":"https://api.github.com/users/thirdwing/orgs","repos_url":"https://api.github.com/users/thirdwing/repos","events_url":"https://api.github.com/users/thirdwing/events{/privacy}","received_events_url":"https://api.github.com/users/thirdwing/received_events","type":"User","site_admin":false},"assignees":[{"login":"thirdwing","id":1547093,"avatar_url":"https://avatars1.githubusercontent.com/u/1547093?v=3","gravatar_id":"","url":"https://api.github.com/users/thirdwing","html_url":"https://github.com/thirdwing","followers_url":"https://api.github.com/users/thirdwing/followers","following_url":"https://api.github.com/users/thirdwing/following{/other_user}","gists_url":"https://api.github.com/users/thirdwing/gists{/gist_id}","starred_url":"https://api.github.com/users/thirdwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thirdwing/subscriptions","organizations_url":"https://api.github.com/users/thirdwing/orgs","repos_url":"https://api.github.com/users/thirdwing/repos","events_url":"https://api.github.com/users/thirdwing/events{/privacy}","received_events_url":"https://api.github.com/users/thirdwing/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-05-06T12:02:54Z","updated_at":"2017-05-24T08:24:42Z","closed_at":"2017-05-24T08:24:42Z","body":"Thanks,\r\n\r\nI have just tried and I could not install it.\r\nThis is what I got:\r\n\r\n```r\r\n> install.packages(\"drat\", repos=\"https://cran.rstudio.com\")\r\nWarning in install.packages :\r\n  cannot open URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/PACKAGES.rds': HTTP status was '404 Not Found'\r\nprobando la URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/drat_0.1.2.tgz'\r\nContent type 'application/x-gzip' length 52292 bytes (51 KB)\r\n==================================================\r\ndownloaded 51 KB\r\n\r\n\r\nThe downloaded binary packages are in\r\n\t/var/folders/xb/vb5w29r90s1386k8qft1v1tm0000gn/T//RtmpeNFmGw/downloaded_packages\r\n> drat:::addRepo(\"dmlc\")\r\n> install.packages(\"mxnet\")\r\nWarning in install.packages :\r\n  cannot open URL 'http://dmlc.ml/drat/src/contrib/PACKAGES.rds': HTTP status was '404 Not Found'\r\nalso installing the dependencies ‘brew’, ‘Rook’, ‘influenceR’, ‘rgexf’, ‘DiagrammeR’\r\n\r\nWarning in install.packages :\r\n  cannot open URL 'https://cran.r-project.org/bin/macosx/el-capitan/contrib/3.4/PACKAGES.rds': HTTP status was '404 Not Found'\r\nWarning in install.packages :\r\n  cannot open URL 'http://dmlc.ml/drat/bin/macosx/el-capitan/contrib/3.4/PACKAGES.rds': HTTP status was '404 Not Found'\r\nWarning in install.packages :\r\n  cannot open URL 'http://dmlc.ml/drat/bin/macosx/el-capitan/contrib/3.4/PACKAGES.gz': HTTP status was '404 Not Found'\r\nWarning in install.packages :\r\n  cannot open URL 'http://dmlc.ml/drat/bin/macosx/el-capitan/contrib/3.4/PACKAGES': HTTP status was '404 Not Found'\r\nWarning in install.packages :\r\n  unable to access index for repository https://dmlc.github.io/drat/bin/macosx/el-capitan/contrib/3.4:\r\n  no fue posible abrir la URL 'https://dmlc.github.io/drat/bin/macosx/el-capitan/contrib/3.4/PACKAGES'\r\nPackage which is only available in source form, and may need compilation of\r\n  C/C++/Fortran: ‘mxnet’\r\nDo you want to attempt to install these from sources?\r\ny/n: \r\nprobando la URL 'https://cran.wu.ac.at/bin/macosx/el-capitan/contrib/3.4/brew_1.0-6.tgz'\r\nContent type 'application/x-gzip' length 98225 bytes (95 KB)\r\n==================================================\r\ndownloaded 95 KB\r\n\r\nprobando la URL 'https://cran.wu.ac.at/bin/macosx/el-capitan/contrib/3.4/Rook_1.1-1.tgz'\r\nContent type 'application/x-gzip' length 284376 bytes (277 KB)\r\n==================================================\r\ndownloaded 277 KB\r\n\r\nprobando la URL 'https://cran.wu.ac.at/bin/macosx/el-capitan/contrib/3.4/influenceR_0.1.0.tgz'\r\nContent type 'application/x-gzip' length 68985 bytes (67 KB)\r\n==================================================\r\ndownloaded 67 KB\r\n\r\nprobando la URL 'https://cran.wu.ac.at/bin/macosx/el-capitan/contrib/3.4/rgexf_0.15.3.tgz'\r\nContent type 'application/x-gzip' length 503950 bytes (492 KB)\r\n==================================================\r\ndownloaded 492 KB\r\n\r\nprobando la URL 'https://cran.wu.ac.at/bin/macosx/el-capitan/contrib/3.4/DiagrammeR_0.9.0.tgz'\r\nContent type 'application/x-gzip' length 4637031 bytes (4.4 MB)\r\n==================================================\r\ndownloaded 4.4 MB\r\n\r\n\r\nThe downloaded binary packages are in\r\n\t/var/folders/xb/vb5w29r90s1386k8qft1v1tm0000gn/T//RtmpeNFmGw/downloaded_packages\r\n```\r\n\r\nSince, it seems that I could install it from sources, I tried just to `install.package()` with this result:\r\n\r\n```r\r\n> install.packages(\"mxnet\")\r\nWarning in install.packages :\r\n  cannot open URL 'http://dmlc.ml/drat/bin/macosx/el-capitan/contrib/3.4/PACKAGES.rds': HTTP status was '404 Not Found'\r\nWarning in install.packages :\r\n  cannot open URL 'http://dmlc.ml/drat/bin/macosx/el-capitan/contrib/3.4/PACKAGES.gz': HTTP status was '404 Not Found'\r\nWarning in install.packages :\r\n  cannot open URL 'http://dmlc.ml/drat/bin/macosx/el-capitan/contrib/3.4/PACKAGES': HTTP status was '404 Not Found'\r\nWarning in install.packages :\r\n  unable to access index for repository https://dmlc.github.io/drat/bin/macosx/el-capitan/contrib/3.4:\r\n  no fue posible abrir la URL 'https://dmlc.github.io/drat/bin/macosx/el-capitan/contrib/3.4/PACKAGES'\r\nPackage which is only available in source form, and may need compilation of\r\n  C/C++/Fortran: ‘mxnet’\r\nDo you want to attempt to install these from sources?\r\ny/n: y\r\ninstalling the source package ‘mxnet’\r\n\r\nprobando la URL 'https://dmlc.github.io/drat/src/contrib/mxnet_0.9.5.tar.gz'\r\nWarning in install.packages :\r\n  cannot open URL 'http://dmlc.ml/drat/src/contrib/mxnet_0.9.5.tar.gz': HTTP status was '404 Not Found'\r\nError in download.file(url, destfile, method, mode = \"wb\", ...) : \r\n  no fue posible abrir la URL 'https://dmlc.github.io/drat/src/contrib/mxnet_0.9.5.tar.gz'\r\nWarning in install.packages :\r\n  download of package ‘mxnet’ failed\r\n```\r\nIt seems that `mxnet_0.9.5.tar.gz` is unavailable.\r\n\r\nMoving around `thirdwing`'s commits I could found the `mxnet_0.9.5.tgz` [here](https://github.com/dmlc/drat/blob/gh-pages/bin/macosx/mavericks/contrib/3.4/mxnet_0.9.5.tgz).\r\n\r\nI installed in `R` manually but when I load the library\r\n\r\n- RStudio crashes.\r\n- and R-Gui it gives this error:\r\n\r\n```r\r\n> library(mxnet)\r\n\r\n *** caught segfault ***\r\naddress 0x18, cause 'memory not mapped'\r\n\r\nTraceback:\r\n 1: .Call(symbol)\r\n 2: Module(module, mustStart = TRUE, where = env)\r\n 3: doTryCatch(return(expr), name, parentenv, handler)\r\n 4: tryCatchOne(expr, names, parentenv, handlers[[1L]])\r\n 5: tryCatchList(expr, classes, parentenv, handlers)\r\n 6: tryCatch(Module(module, mustStart = TRUE, where = env), error = function(e) e)\r\n 7: loadModule(\"mxnet\", TRUE)\r\n 8: fun(libname, pkgname)\r\n 9: doTryCatch(return(expr), name, parentenv, handler)\r\n10: tryCatchOne(expr, names, parentenv, handlers[[1L]])\r\n11: tryCatchList(expr, classes, parentenv, handlers)\r\n12: tryCatch(fun(libname, pkgname), error = identity)\r\n13: runHook(\".onLoad\", env, package.lib, package)\r\n14: loadNamespace(package, lib.loc)\r\n15: doTryCatch(return(expr), name, parentenv, handler)\r\n16: tryCatchOne(expr, names, parentenv, handlers[[1L]])\r\n17: tryCatchList(expr, classes, parentenv, handlers)\r\n18: tryCatch({    attr(package, \"LibPath\") <- which.lib.loc    ns <- loadNamespace(package, lib.loc)    env <- attachNamespace(ns, pos = pos, deps)}, error = function(e) {    P <- if (!is.null(cc <- conditionCall(e)))         paste(\" in\", deparse(cc)[1L])    else \"\"    msg <- gettextf(\"package or namespace load failed for %s%s:\\n %s\",         sQuote(package), P, conditionMessage(e))    if (logical.return)         message(paste(\"Error:\", msg), domain = NA)    else stop(msg, call. = FALSE, domain = NA)})\r\n19: library(mxnet)\r\n\r\nPossible actions:\r\n1: abort (with core dump, if enabled)\r\n2: normal R exit\r\n3: exit R without saving workspace\r\n4: exit R saving workspace\r\n```\r\nJust in case it's needed:\r\n\r\n```r\r\n> version\r\n               _                           \r\nplatform       x86_64-apple-darwin15.6.0   \r\narch           x86_64                      \r\nos             darwin15.6.0                \r\nsystem         x86_64, darwin15.6.0        \r\nstatus                                     \r\nmajor          3                           \r\nminor          4.0                         \r\nyear           2017                        \r\nmonth          04                          \r\nday            21                          \r\nsvn rev        72570                       \r\nlanguage       R                           \r\nversion.string R version 3.4.0 (2017-04-21)\r\nnickname       You Stupid Darkness     \r\n```\r\nPlease let me know if you need me to provide other details.\r\n\r\nThanks,\r\nCarlos."}}
{"actor":{"display_login":"coforfe"}}