Automatic R wrapper generation for java methods

I'm trying to use Java packageout R.

RJavaprovides a way to call Javafrom R, but wrapping all methods is impractical.

Does anyone know of a script that creates wrappers for a package (for example, by processing the appropriate javadoc)?

+3
source share
1 answer

I could be wrong, but using rJava quite widely, I am pretty sure that nothing like this exists.

rJava , ( CRAN). .

, , , helloJavaWorld; .

, , . , - .

Romain Francois , rJava ( , 2009 .). :

> require( rJava ) ; .jinit() 
> attach( javaImport( "java.lang" ) ) 
> Math$PI 
[1] 3.141593 
> Math$abs( -3 ) 
[1] 3

, , , Math $[tab].

+5

Source: https://habr.com/ru/post/1724531/


All Articles