[R-SIG-Mac] OSX Sierra, R crash when loading library WGCNA

Billie Gould bgould at msu.edu
Tue Apr 11 20:43:15 CEST 2017


Hello fellow Macs,
I’m hoping to ask your help. I’m an R user with MacOSX Sierra (v10.12.3) and I am encountering R (v3.3.3) crash problems loading a specific package for genetic analysis: WGCNA (https://cran.r-project.org/web/packages/WGCNA/index.html <https://cran.r-project.org/web/packages/WGCNA/index.html>). I’ve contacted the authors of the package and they suggested someone here might know something. 
Basically the package installs fine, but loading the library causes immediate crash with the following error output: 
>
>> library("WGCNA")
> Loading required package: dynamicTreeCut
> Loading required package: fastcluster
> 
> Attaching package: ‘fastcluster’
> 
> The following object is masked from ‘package:stats’:
> 
>    hclust
> 
> 
> *** caught segfault ***
> address 0x18, cause 'memory not mapped'
> 
> Traceback:
> 1: dyn.load(file, DLLpath = DLLpath, ...)
> 2: library.dynam(lib, package, package.lib)
> 3: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
> 4: namespaceImport(ns, loadNamespace(i, c(lib.loc, .libPaths()),
> versionCheck = vI[[i]]), from = package)
> 5: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
> 6: namespaceImport(ns, loadNamespace(i, c(lib.loc, .libPaths()),
> versionCheck = vI[[i]]), from = package)
> 7: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
> 8: namespaceImport(ns, loadNamespace(i, c(lib.loc, .libPaths()),
> versionCheck = vI[[i]]), from = package)
> 9: loadNamespace(package, lib.loc)
> 10: doTryCatch(return(expr), name, parentenv, handler)
> 11: tryCatchOne(expr, names, parentenv, handlers[[1L]])
> 12: tryCatchList(expr, classes, parentenv, handlers)
> 13: tryCatch(expr, error = function(e) {    call <- conditionCall(e)    if
> (!is.null(call)) {        if (identical(call[[1L]], quote(doTryCatch)))
> call <- sys.call(-4L)        dcall <- deparse(call)[1L]        prefix <-
> paste("Error in", dcall, ": ")        LONG <- 75L        msg <-
> conditionMessage(e)        sm <- strsplit(msg, "\n")[[1L]]        w <- 14L +
> nchar(dcall, type = "w") + nchar(sm[1L], type = "w")        if (is.na(w))
> w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L],                 type =
> "b")        if (w > LONG)             prefix <- paste0(prefix, "\n  ")    }
> else prefix <- "Error : "    msg <- paste0(prefix, conditionMessage(e),
> "\n")    .Internal(seterrmessage(msg[1L]))    if (!silent &&
> identical(getOption("show.error.messages"),         TRUE)) {        cat(msg,
> file = stderr())        .Internal(printDeferredWarnings())    }
> invisible(structure(msg, class = "try-error", condition = e))})
> 14: try({    attr(package, "LibPath") <- which.lib.loc    ns <-
> loadNamespace(package, lib.loc)    env <- attachNamespace(ns, pos = pos,
> deps)})
> 15: library("WGCNA”)

Is anyone here perhaps familiar with this issue or something similar on OSX Sierra? 
Any suggestions would be much appreciated. 

Thanks very much,

Billie


	[[alternative HTML version deleted]]



More information about the R-SIG-Mac mailing list