選択できるのは25トピックまでです。
トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
11 行
447 B
11 行
447 B
.onLoad <- function(libname, pkgname) {
|
|
rJava::.jpackage(pkgname, jars = "*", lib.loc = libname)
|
|
rJava::.jaddClassPath(dir(file.path(getwd(), "inst/java"), full.names = TRUE))
|
|
o <- getOption("java.parameters", "")
|
|
if (!any(grepl("-Xrs", o))) {
|
|
packageStartupMessage(
|
|
"Did not find '-Xrs' in java.parameters option. Until rJava is updated, ",
|
|
"please set this up in your/an Rprofile or at the start of scripts."
|
|
)
|
|
}
|
|
}
|
|
|