Skip to content

Instantly share code, notes, and snippets.

@CaitlinWalker
Created December 14, 2018 16:14
Show Gist options
  • Save CaitlinWalker/3626c6a964fa161bc46e1531827a941e to your computer and use it in GitHub Desktop.
Save CaitlinWalker/3626c6a964fa161bc46e1531827a941e to your computer and use it in GitHub Desktop.
acmacs.r install error
> install.packages("https://github.com/acorg/acmacs.r/releases/download/v2.11/acmacs.r_2.11_R_macOS-10.12.tgz", repos=NULL)
Installing package into ‘/usr/local/lib/R/3.5/site-library’
(as ‘lib’ is unspecified)
trying URL 'https://github.com/acorg/acmacs.r/releases/download/v2.11/acmacs.r_2.11_R_macOS-10.12.tgz'
Content type 'application/octet-stream' length 2271241 bytes (2.2 MB)
==================================================
downloaded 2.2 MB
* installing *binary* package ‘acmacs.r’ ...
* DONE (acmacs.r)
> library(acmacs.r)
*** caught segfault ***
address 0x18, cause 'memory not mapped'
Traceback:
1: Module(module, mustStart = TRUE, where = env)
2: doTryCatch(return(expr), name, parentenv, handler)
3: tryCatchOne(expr, names, parentenv, handlers[[1L]])
4: tryCatchList(expr, classes, parentenv, handlers)
5: tryCatch(Module(module, mustStart = TRUE, where = env), error = function(e) e)
6: loadModule(module = "acmacs", what = TRUE, env = ns, loadNow = TRUE)
7: (function (ns) loadModule(module = "acmacs", what = TRUE, env = ns, loadNow = TRUE))(<environment>)
8: doTryCatch(return(expr), name, parentenv, handler)
9: tryCatchOne(expr, names, parentenv, handlers[[1L]])
10: tryCatchList(expr, classes, parentenv, handlers)
11: tryCatch((function (ns) loadModule(module = "acmacs", what = TRUE, env = ns, loadNow = TRUE))(<environment>), error = function(e) e)
12: eval(substitute(tryCatch(FUN(WHERE), error = function(e) e), list(FUN = f, WHERE = where)), where)
13: eval(substitute(tryCatch(FUN(WHERE), error = function(e) e), list(FUN = f, WHERE = where)), where)
14: .doLoadActions(where, attach)
15: methods::cacheMetaData(ns, TRUE, ns)
16: loadNamespace(package, lib.loc)
17: doTryCatch(return(expr), name, parentenv, handler)
18: tryCatchOne(expr, names, parentenv, handlers[[1L]])
19: tryCatchList(expr, classes, parentenv, handlers)
20: 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)})
21: library(acmacs.r)
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment