cran. To fix this you can add URL: https://test.r-universe.dev/rJava to the package DESCRIPTION file. See also theR-universe documentation.Package: rJava 1.0-11
rJava: Low-Level R to Java Interface
Low-level interface to Java VM very much like .C/.Call and friends. Allows creation of objects, calling methods and accessing fields.
Authors:
rJava_1.0-11.tar.gz
rJava_1.0-11.zip(r-4.6)rJava_1.0-11.zip(r-4.5)rJava_1.0-11.zip(r-4.4)
rJava_1.0-11.tgz(r-4.5-x86_64)rJava_1.0-11.tgz(r-4.5-arm64)
rJava_1.0-11.tar.gz(r-4.6-arm64)rJava_1.0-11.tar.gz(r-4.6-x86_64)rJava_1.0-11.tar.gz(r-4.5-arm64)rJava_1.0-11.tar.gz(r-4.5-x86_64)
rJava.pdf |rJava.html✨
rJava/json (API)
NEWS
| # Install 'rJava' in R: |
| install.packages('rJava', repos = c('https://test.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/s-u/rjava/issues
Last updated from:bbd4c15859. Checks:3 WARNING, 1 OK, 4 NOTE, 4 ERROR, 1 FAIL. Indexed: no.
| Target | Result | Total time | Artifact |
|---|---|---|---|
| linux-devel-arm64 | WARNING | 119 | |
| linux-devel-x86_64 | WARNING | 122 | |
| source / vignettes | OK | 202 | |
| linux-release-arm64 | NOTE | 127 | |
| linux-release-x86_64 | NOTE | 124 | |
| macos-release-arm64 | ERROR | 110 | |
| macos-release-x86_64 | ERROR | 164 | |
| macos-oldrel-arm64 | ERROR | 88 | |
| macos-oldrel-x86_64 | ERROR | 218 | |
| windows-devel | WARNING | 114 | |
| windows-release | NOTE | 111 | |
| windows-oldrel | NOTE | 98 | |
| wasm-release | FAIL | 114 |
Exports:.jaddClassPath.jaddLibrary.jarray.jbyte.jcache.jcall.jcast.jcastToArray.jchar.jcheck.jclass.jclass.boolean.jclass.double.jclass.float.jclass.int.jclass.void.jclassClass.jclassLoader.jclassObject.jclassPath.jclassRef.jclassString.jclear.jcompare.jconstructors.jengine.jequals.jevalArray.jfield.jfield<-.jfields.jfindClass.jfirst.jfloat.jgc.jgetEx.jidenticalRef.jinherits.jinit.jinit.merge.error.jinstanceof.jlong.jmemprof.jmergeClassPath.jmethods.jmkref.jnew.jniInitialized.jnull.joptions.jpackage.jproperty.jrcall.jrmLibrary.jserialize.jsetJConvertor.jsetRConvertor.jshort.jsimplify.jstrVal.jthrow.junserialize.jvmState.jzeroRef.r2j.rJava.base.path%instanceof%anyDuplicatedcloneduplicatedheadis.jnullJjavaImportnewrevshowsortstrtailtoJavauniquewith.jobjRef
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Invoke Java Garbage Collection | .jgc |
| Is a java object an instance of a given java class | %instanceof% .jinstanceof |
| Converts java objects or arrays to R lists | as.list.jarrayRef as.list.jobjRef as.list.jrectRef |
| Object cloner | clone clone,jarrayRef-method clone,jobjRef-method clone,jrectRef-method |
| Exception handling | $.Throwable $<-.Throwable Exceptions |
| High level API for accessing Java | J |
| Java array handling functions | .jarray .jevalArray |
| Class "jarrayRef" Reference to an array Java object | anyDuplicated,jarrayRef-method duplicated,jarrayRef-method head,jarrayRef-method jarrayRef-class length,jarrayRef-method max,jarrayRef-method min,jarrayRef-method range,jarrayRef-method rev,jarrayRef-method sort,jarrayRef-method str,jarrayRef-method tail,jarrayRef-method unique,jarrayRef-method [,jarrayRef-method [[,jarrayRef-method [[<-,jarrayRef-method |
| java tools used internally in rJava | java-tools |
| Field/method operator for Java objects | $,jclassName-method $,jobjRef-method $<-,jclassName-method $<-,jobjRef-method .DollarNames.jarrayRef .DollarNames.jclassName .DollarNames.jobjRef .DollarNames.jrectRef names,jarrayRef-method names,jclassName-method names,jobjRef-method names,jrectRef-method |
| Attach mechanism for java packages | javaImport |
| Call a Java method | .jcall |
| Cast a Java object to another class | .jcast |
| Ensures that a given object is an array reference | .jcastToArray |
| Java exception handling | .jcheck .jclear .jgetEx .jthrow |
| Class "jclassName" - a representation of a Java class name | as.character,jclassName-method jclassName-class |
| Java callback engineCast a Java object to another class | .jengine |
| Comparing Java References | !=,ANY,jobjRef-method !=,jobjRef,ANY-method !=,jobjRef,jobjRef-method .jcompare .jequals <,ANY,jobjRef-method <,jobjRef,ANY-method <,jobjRef,jobjRef-method <=,ANY,jobjRef-method <=,jobjRef,ANY-method <=,jobjRef,jobjRef-method ==,ANY,jobjRef-method ==,jobjRef,ANY-method ==,jobjRef,jobjRef-method >,ANY,jobjRef-method >,jobjRef,ANY-method >,jobjRef,jobjRef-method >=,ANY,jobjRef-method >=,jobjRef,ANY-method >=,jobjRef,jobjRef-method |
| Obtains the value of a field | .jfield .jfield<- |
| Wrap numeric vector as flat Java parameter | .jbyte .jchar .jfloat .jlong .jshort jbyte jchar jfloat jlong jshort |
| Classes "jfloat", "jlong", "jbyte" and "jchar" specify Java native types that are not native in R | jbyte-class jchar-class jfloat-class jlong-class |
| Initialize Java VM | .jinit .jvmState |
| rJava memory profiler | .jmemprof |
| Create a Java object | .jnew |
| Java null object reference | .jnull is.jnull |
| Class "jobjRef" - Reference to a Java object | jobjRef-class |
| Initialize an R package containing Java code | .jpackage |
| Rectangular java arrays | anyDuplicated,jrectRef-method dim,jrectRef-method dim<-,jrectRef-method duplicated,jrectRef-method jrectRef-class length,jrectRef-method max,jrectRef-method min,jrectRef-method range,jrectRef-method rev,jrectRef-method sort,jrectRef-method str,jrectRef-method unique,jrectRef-method [,jrectRef-method |
| Simple helper functions for Java reflection | .jconstructors .jfields .jmethods |
| Java object serialization | .jcache .jserialize .junserialize |
| Converts Java object to a simple scalar if possible | .jsimplify |
| Java Class Loader | .jaddClassPath .jclassLoader .jclassPath |
| Create a new Java object | new,jclassName-method |
| Creates java arrays by cloning | rep,jarrayRef-method rep,jobjRef-method rep,jrectRef-method |
| Show a Java Object Reference | show,jarrayRef-method show,jclassName-method show,jobjRef-method str,jobjRef-method |
| Convert R objects to REXP references in Java | toJava |
| with and within methods for Java objects and class names | with.jarrayRef with.jclassName with.jobjRef within.jarrayRef within.jclassName within.jobjRef |
