Create 'Java' Objects and Execute 'Java' Methods


[Up] [Top]

Documentation for package ‘J4R’ version 1.0.7

Help Pages

addUrlToClassPath Dynamically adds an url to the classpath.
bufferLength Length of the buffer when reading from the socket connection.
cacheEnv The cache environment of this package
callJavaGC Synchronize the Java environment with the R environment
callJavaMethod Call a Java method
checkIfClasspathContains Check if a Library has been loaded
connectToJava Connect to Java environment
createJavaObject Create Java objects
getAllValuesFromArray Returns all the elements of an array
getAllValuesFromListObject Returns all the elements of a Java instance of List
getArrayLength Return the length of an Array instance
getClassLoaderURLs Retrieve the URLs of the current classloader
getJavaArchitecture Get Java architecture
getJavaField Get the value of a public field
getJavaVersion Get the current Java version
getListOfJavaReferences Provide a list of the Java references
getMemorySettings Returns the maximum, total and free memory in Mb
getValueFromArray Get a value from an array
isArray Check if the java.object instance represents an Array
isConnectedToJava Checks if the Java server is running
maxVectorLength Maximum length of the vector in the parameters.
setJavaField Set the value of a public field
setJavaPath Set the path to Java
setValueInArray Set a value in an array
shutdownJava Shut down Java