Hi, I am trying to run 2 versions of R, 2.7.2. and 2.9.0, and am trying to use R Switch on Mac OS Leopard 10.5.7
I have been following the second step and removing /Library/Receipts/R-framework prior to installation of 2.9.0 Upon installing 2.9.0, 2.9.0 runs OK, but if I select 2.7.2 on Rswitch, the following error results on startup (ERROR 1, below) and R crashes. Upon installing 2.7.2 (after similarly removing R-framework), and choosing R.2.9.0 on Rswitch, a slightly different error appears. Any advice would be very much appreciated. Regards, Min-Han Error 1 *** caught segfault *** address 0x24048910, cause 'memory not mapped' Traceback: 1: .Call("R_initMethodDispatch", as.environment(where), PACKAGE = "methods") 2: initMethodDispatch(where) 3: ..First.lib(libname, pkgName, env) 4: fun(...) 5: doTryCatch(return(expr), name, parentenv, handler) 6: tryCatchOne(expr, names, parentenv, handlers[[1]]) 7: tryCatchList(expr, classes, parentenv, handlers) 8: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1]], quote(doTryCatch))) call <- sys.call(-4) dcall <- deparse(call)[1] prefix <- paste("Error in", dcall, ": ") LONG <- 75 msg <- conditionMessage(e) sm <- strsplit(msg, "\n")[[1]] if (14 + nchar(dcall, type = "w") + nchar(sm[1], type = "w") > LONG) prefix <- paste(prefix, "\n ", sep = "") } else prefix <- "Error : " msg <- paste(prefix, conditionMessage(e), "\n", sep = "") .Internal(seterrmessage(msg[1])) if (!silent && identical(getOption("show.error.messages"), TRUE)) { cat(msg, file = stderr()) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error"))}) 9: try({ fun(...) NULL}) 10: runHook(".onLoad", package, env, package.lib, package) 11: loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) 12: doTryCatch(return(expr), name, parentenv, handler) 13: tryCatchOne(expr, names, parentenv, handlers[[1]]) 14: tryCatchList(expr, classes, parentenv, handlers) 15: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1]], quote(doTryCatch))) call <- sys.call(-4) dcall <- deparse(call)[1] prefix <- paste("Error in", dcall, ": ") LONG <- 75 msg <- conditionMessage(e) sm <- strsplit(msg, "\n")[[1]] if (14 + nchar(dcall, type = "w") + nchar(sm[1], type = "w") > LONG) prefix <- paste(prefix, "\n ", sep = "") } else prefix <- "Error : " msg <- paste(prefix, conditionMessage(e), "\n", sep = "") .Internal(seterrmessage(msg[1])) if (!silent && identical(getOption("show.error.messages"), TRUE)) { cat(msg, file = stderr()) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error"))}) 16: try({ ns <- loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) dataPath <- file.path(which.lib.loc, package, "data") env <- attachNamespace(ns, pos = pos, dataPath = dataPath)}) 17: library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, warn.conflicts = warn.conflicts, keep.source = keep.source, version = version) 18: require("methods", quietly = TRUE, warn.conflicts = FALSE, character.only = TRUE, save = FALSE) 19: .OptRequireMethods() Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace ERROR 2 Error in .Internal(grepl(as.character(pattern), x, ignore.case, extended, : no internal function "grepl" Error in .Internal(grepl(as.character(pattern), x, ignore.case, extended, : no internal function "grepl" *** caught segfault *** address 0xc0000086, cause 'memory not mapped' 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@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac