Hi!

I have been using R for two years, but since last week I have a problem with
rgl, using R 2.12 on Ubuntu 10.04.
In fact, when I load rgl with library(), before any other command, I have
the following error message.

Could anybody help me?
Thanks in advance,
#############
+ library(rgl)

 *** caught segfault ***
address 0x4, cause 'memory not mapped'

Traceback:
 1: .Call(rgl_init, initValue)
 2: rgl.init(initValue)
 3: fun(...)
 4: doTryCatch(return(expr), name, parentenv, handler)
 5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 6: tryCatchList(expr, classes, parentenv, handlers)
 7: tryCatch(fun(...), error = identity)
 8: runHook(".onLoad", package, env, package.lib, package)
 9: loadNamespace(package, c(which.lib.loc, lib.loc), keep.source =
keep.source)
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 <- paste(prefix, "\n  ", sep =
"")    }    else prefix <- "Error : "    msg <- paste(prefix,
conditionMessage(e), "\n", sep = "")    .Internal(seterrmessage(msg[1L]))   
if (!silent && identical(getOption("show.error.messages"),         TRUE)) {     
  
cat(msg, file = stderr())        .Internal(printDeferredWarnings())    }   
invisible(structure(msg, class = "try-error"))})
14: 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,        
deps)})
15: library(rgl)

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace

--- interrupted ---
##############
-----------
Andrea Boneschi
Politecnico di Milano
-- 
View this message in context: 
http://r.789695.n4.nabble.com/R-crashes-when-loading-rgl-package-before-minqa-package-tp2719252p3005193.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to