Hi! Thanks for the amazing package - this is super helpful and much appreciated!
I am getting a segfault when attempting to load the rstan package after the StanEstimators package, see below for the error and some system info. Let me know if I can supply any other info. I tried this from a fresh install of R from the command line (to rule out any RStudio/editor issues). Not sure what to try out next....
R version 4.3.2 (2023-10-31) -- "Eye Holes"
Copyright (C) 2023 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.
> Sys.info()
sysname
"Linux"
release
"6.9.3-76060903-generic"
version
"#202405300957~1718348209~22.04~7817b67 SMP PREEMPT_DYNAMIC Mon J"
nodename
"pop-os"
machine
"x86_64"
> packageVersion("rstan")
[1] ‘2.32.6’
> packageVersion("StanEstimators")
[1] ‘0.1.2.9000’
> library(StanEstimators)
> library(rstan)
Loading required package: StanHeaders
*** caught segfault ***
address 0x22ca39, cause 'memory not mapped'
Traceback:
1: dyn.load(file, DLLpath = DLLpath, ...)
2: library.dynam(lib, package, package.lib)
3: loadNamespace(package, lib.loc)
4: doTryCatch(return(expr), name, parentenv, handler)
5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
6: tryCatchList(expr, classes, parentenv, handlers)
7: 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 && !quietly) message(paste("Error:", msg), domain = NA) else stop(msg, call. = FALSE, domain = NA)})
8: library(rstan)
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:
Hi! Thanks for the amazing package - this is super helpful and much appreciated!
I am getting a segfault when attempting to load the
rstan
package after theStanEstimators
package, see below for the error and some system info. Let me know if I can supply any other info. I tried this from a fresh install of R from the command line (to rule out any RStudio/editor issues). Not sure what to try out next....