File: options.R

package info (click to toggle)
rjava 1.0-14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,188 kB
  • sloc: java: 13,223; ansic: 5,503; sh: 3,776; xml: 325; makefile: 250; perl: 33
file content (11 lines) | stat: -rw-r--r-- 292 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
.joptions <- function(...) {
  l <- list(...)
  if (length(l)==0) return(list())
  if ("jni.cache" %in% names(l)) {
    v <- l[["jni.cache"]]
    if (!is.logical(v) || length(v)!=1)
      stop("jni.cache must be a logical vector of length 1")
    .C(RuseJNICache,v)
    invisible(NULL)
  }
}