[rkward-users] [rkward - Help] rcdklibs(Java) causes R/rkward to crash

SourceForge.net noreply at sourceforge.net
Fri Jun 5 21:46:33 UTC 2009


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=7429180
By: rtautenh

The following line works fine in the R-shell but not in rkward (version: svn
today).

library(rcdklibs) 


Loading required package: rJava

 *** caught segfault ***
address 0x7f4453444aa0, cause 'invalid permissions'

Traceback:
 1: .External(interface, obj at jobj, returnSig, method, ..., PACKAGE = "rJava")
 2: .jcall(ic, "Ljava/lang/reflect/Field;", "getField", "TYPE")
 3: .jinit(classpath = c(jar.cdk))
 4: f(libname, pkgname)
 5: firstlib(which.lib.loc, package)
 6: doTryCatch(return(expr), name, parentenv, handler)
 7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 8: tryCatchList(expr, classes, parentenv, handlers)
 9: 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]]        if (14L + nchar(dcall, type = "w") +
nchar(sm[1L], type = "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"))})
10: try(firstlib(which.lib.loc, package))
11: library(rcdklibs)

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



Any ideas ?

Thanks!
Ralf.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=165574




More information about the Rkward-users mailing list