mirror da https://git.sr.ht/~hrbrmstr/metis
Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
11 righe
447 B
11 righe
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."
|
|
)
|
|
}
|
|
}
|
|
|