Java callback engineCast a Java object to another class
Java回调engineCast的Java对象到另一个类
译者:生物统计家园网 机器人LoveR
描述----------Description----------
.jengine obtains the current callback engine or starts it.
.jengine获得当前回调的发动机或启动它。
用法----------Usage----------
.jengine(start=FALSE, silent=FALSE)
参数----------Arguments----------
参数:start
if set to TRUE then the callback engine is started if it is not yet active
如果设置为TRUE然后回调引擎开始,如果它是尚未激活
参数:silent
if set to TRUE then NULL is returned if there is no engine available. Otherwise an error is raised
如果设置TRUE,则返回NULL如果没有发动机。否则会引发错误
Details
详情----------Details----------
.jengine can be used to detect whether the engine was started or to start the engine.
.jengine可用于检测发动机是否启动或启动发动机。
Before any callbacks from Java into R can be performed, the Java callback engine must be initialized, loading Java/R Interface (JRI). If JRI was not started and start is set to TRUE then .jengine will load necessary classes and start it.
可以从Java到R的任何回调之前,Java回调发动机的必须初始化,加载的Java /接口(JRI)。如果JRI的没有启动start设置为TRUE.jengine将装载必要的类,并启动它。
Note that JRI is an optional part of rJava and requires R shared library at the moment. By default rJava will continue with installation even if JRI cannot be built.
请注意,JRI的是一个可选部分rJava和要求ŕ共享库的时刻。由的默认rJava将继续JRI的安装,即使不能建。
值----------Value----------
Returns a Java object reference (jobjRef) to the current Java callback engine.
返回一个Java对象引用(jobjRef)到目前的Java回调发动机的。