For rscala developers only: Returns an instance of the RClient class.
Returns an instance of the RClient class using the path specified by rCmd
and specifying whether debugging
output should be display and the timeout
to establish a connection with the R interpreter.
Returns an instance of the RClient class by running the R
executable in the path.
The companion object to the RClient class used to create an instance of the RClient class in a JVM-based application.
An object
R
is an RClient instance available in a Scala interpreter created by calling the functionscalaInterpreter
from the package rscala. It is through this instanceR
that callbacks to the original R interpreter are possible.The paths of the rscala's JARs, for both Scala 2.10 and 2.11, are available from R using
rscala::rscalaJar()
. To get just the JAR for Scala 2.11, for example, userscala::rscalaJar("2.11")
.val R = org.ddahl.rscala.RClient()