[R-SIG-Mac] R 4.3.1 fails to load

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Sun Jul 23 02:09:21 CEST 2023


Do you know where the `library(cgwtools)` call came from?  It appears to 
be the culprit.

I'd try (command line)

   R --vanilla

for a minimal load, then update packages, etc.  Then try the regular 
load.  If it still fails, go back to vanilla, and source your .Rprofile 
with echo = TRUE to see which line in it is causing this (if it is 
actually .Rprofile that is the problem).

Duncan Murdoch

On 22/07/2023 4:29 p.m., Carl Witthoft wrote:
> Neither R.app Gui nor R from command line will work.
> This is 4.3.1 ,  MacOS 13.4  on an x86 (and yes, that's the version I
> installed).
> 
>    Heres the error traceback from the command line:
> 
> *** caught segfault ***
> address 0x0, cause 'memory not mapped'
> 
> Traceback:
>    1: as.bigz(NA)
>    2: fun(libname, pkgname)
>    3: doTryCatch(return(expr), name, parentenv, handler)
>    4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
>    5: tryCatchList(expr, classes, parentenv, handlers)
>    6: tryCatch(fun(libname, pkgname), error = identity)
>    7: runHook(".onLoad", env, package.lib, package)
>    8: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck =
> vI[[j]])
>    9: asNamespace(ns)
> 10: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc,
> .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package)
> 11: loadNamespace(package, lib.loc)
> 12: doTryCatch(return(expr), name, parentenv, handler)
> 13: tryCatchOne(expr, names, parentenv, handlers[[1L]])
> 14: tryCatchList(expr, classes, parentenv, handlers)
> 15: 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)})
> 16: library(cgwtools)
> 
> Possible actions:
> 1: abort (with core dump, if enabled)
> 2: normal R exit
> 3: exit R without saving workspace
> 4: exit R saving workspace
> 
>



More information about the R-SIG-Mac mailing list