Skip to content

Instantly share code, notes, and snippets.

@davipatti
Created July 12, 2019 14:11
Show Gist options
  • Save davipatti/0a2481bbcaadc3daf0ee78be17fbb386 to your computer and use it in GitHub Desktop.
Save davipatti/0a2481bbcaadc3daf0ee78be17fbb386 to your computer and use it in GitHub Desktop.
david@puck~/Downloads> scp acorg:/syn/eu/R/acmacs.r_3.6_R_x86_64-pc-linux-gnu.tar.gz .
acmacs.r_3.6_R_x86_64-pc-linux-gnu.tar.gz 100% 22MB 437.6KB/s 00:52
david@puck~/Downloads> R
R version 3.6.1 (2019-07-05) -- "Action of the Toes"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
>
>
> remove.packages("acmacs.r")
Removing package from ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
>
>
> library("acmacs.r")
Error in library("acmacs.r") : there is no package called ‘acmacs.r’
>
>
> install.packages("./acmacs.r_3.6_R_x86_64-pc-linux-gnu.tar.gz", repos=NULL, type="source")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
* installing *binary* package ‘acmacs.r’ ...
* DONE (acmacs.r)
>
>
> library("acmacs.r")
*** caught segfault ***
address 0x4b, cause 'memory not mapped'
Traceback:
1: .External(list(name = "InternalFunction_invoke", address = <pointer: 0x56324364dc90>, dll = list(name = "Rcpp", path = "/usr/local/lib/R/site-library/Rcpp/libs/Rcpp.so", dynamicLookup = TRUE, handle = <pointer: 0x563244d27d10>, info = <pointer: 0x5632423eaae0>), numParameters = -1L), <pointer: 0x563244408480>)
2: acmacs.__init()
3: fun(libname, pkgname)
4: doTryCatch(return(expr), name, parentenv, handler)
5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
6: tryCatchList(expr, classes, parentenv, handlers)
7: tryCatch(fun(libname, pkgname), error = identity)
8: runHook(".onAttach", ns, dirname(nspath), nsname)
9: attachNamespace(ns, pos = pos, deps, exclude, include.only)
10: doTryCatch(return(expr), name, parentenv, handler)
11: tryCatchOne(expr, names, parentenv, handlers[[1L]])
12: tryCatchList(expr, classes, parentenv, handlers)
13: tryCatch({ attr(package, "LibPath") <- which.lib.loc ns <- loadNamespace(package, lib.loc) env <- attachNamespace(ns, pos = pos, deps, exclude, include.only)}, 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)})
14: 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
Selection: 1
R is aborting now ...
fish: “R” terminated by signal SIGSEGV (Address boundary error)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment