- 授权协议: 未知
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://www.omegahat.org/RSJava/
- 软件文档: http://www.omegahat.org/RSJava/
软件介绍
Java调用R语言或S语言的接口,示例代码:
# This FALSE is important as otherwise we end up calling make twice, once in the constructor
# and once here after we have specified the super class.
gen <- .JavaConstructor("ForeignReferenceClassGenerator", "java.awt.event.ActionListener", "RActionListener", FALSE)
.Java(gen, "superClassName", "org.omegahat.R.Java.RForeignReference")
.Java(gen,"make")
.Java(gen,"write", .JavaConstructor("File", "/tmp/RActionListener.class"))
# Now load it, assuming /tmp/ is in your classpath.
.Java(NULL, 'findClass', "RActionListener")
