This function converts R objects to Java arrays. If R object is numeric than the Java object is double. Otherwise the Java object will be String.
R object that to be converted to Java style variables.
New variable name for created Java style variable. If R object is only a vector, a name have to be given. If R object is a list, name is inoperative.
This function returns interpretable code for most frequently used dynamic Java interpreters such as Bean Shell. So this function can be used for using R codes in Java without JNI. This is an inefficient way to use R in Java but implementation is quite easy and platform independent.
Returns interpretable code for Bean Shell and Java of R objects.
This function generates interpretable code for Java. For other languages you can use makexml to convert R objects to XML code. XML is readable for all of the programming languages.
Mehmet Hakan Satman
See an Java implementation using this functionality in http://www.mhsatman.com/rcaller.php
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.