[R-SIG-Mac] Problems with R 1.

Simon Urbanek simon.urbanek at r-project.org
Fri Apr 11 21:28:13 CEST 2014


Patrick,

could it be that you have older versions of packages installed that were not built for Mavericks? Please check .libPaths() to make sure.

I cannot reproduce the issue, so please provide the output of sessionInfo() and if you have Xcode 5 installed, please run

R -d lldb

then let it crash and type
bt
on the prompt and send us the output.

If you don't have Xcode5 or the above doesn't work, please select option 1 (abort) in the crash menu and check if you find a crash report.

Thanks,
Simon


On Apr 11, 2014, at 2:58 PM, PatrickT <annoporci at gmail.com> wrote:

> First, sorry if this is a repeat: I just joined the list and don't know
> what has been discussed recently. Thanks for listening!
> 
> I just installed the latest version of R (3.1.0).  I also reinstalled the
> ggplot2 package. As soon as I execute library("ggplot2") I get the bomb
> message "R Session Aborted" (in RStudio) or "caught segfault" message (in
> the R Console).
> 
> I'm on Mac OS X Mavericks. I downloaded the Mavericks version, which is
> specifically designed for the new XCode (or something).
> 
> I haven't tried on my Linux because I want to keep at least one working
> version of R/RStudio.
> 
> I tried to look at the log files here:
> Help Menu -> Diagnostics -> Show Log Files
> 
> but they are from last week, which is odd because I use R/RStudio every day.
> 
> In the R Console:
> library("ggplot2")
> 
> *** caught segfault ***
> address 0x18, cause 'memory not mapped'
> 
> Traceback:
> 1: dyn.load(file, DLLpath = DLLpath, ...)
> 2: library.dynam(lib, package, package.lib)
> 3: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck =
> vI[[j]])
> 4: asNamespace(ns)
> 5: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc,
> .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package)
> 6: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
> 7: namespaceImport(ns, loadNamespace(i, c(lib.loc, .libPaths()),
> versionCheck = vI[[i]]), from = package)
> 8: loadNamespace(package, c(which.lib.loc, lib.loc))
> 9: doTryCatch(return(expr), name, parentenv, handler)
> 10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
> 11: tryCatchList(expr, classes, parentenv, handlers)
> 12: 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))})
> 13: try({    ns <- loadNamespace(package, c(which.lib.loc, lib.loc))    env
> <- attachNamespace(ns, pos = pos, deps)})
> 14: library("ggplot2")
> 
> 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:
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 



More information about the R-SIG-Mac mailing list