class
RClient extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
eval(template: String, values: Any*): Unit
-
def
evalD0(template: String, values: Any*): Double
-
def
evalD1(template: String, values: Any*): Array[Double]
-
def
evalD2(template: String, values: Any*): Array[Array[Double]]
-
def
evalI0(template: String, values: Any*): Int
-
def
evalI1(template: String, values: Any*): Array[Int]
-
def
evalI2(template: String, values: Any*): Array[Array[Int]]
-
def
evalL0(template: String, values: Any*): Boolean
-
def
evalL1(template: String, values: Any*): Array[Boolean]
-
def
evalL2(template: String, values: Any*): Array[Array[Boolean]]
-
def
evalObject(template: String, values: Any*): RObject
-
def
evalR0(template: String, values: Any*): Byte
-
def
evalR1(template: String, values: Any*): Array[Byte]
-
def
evalR2(template: String, values: Any*): Array[Array[Byte]]
-
def
evalS0(template: String, values: Any*): String
-
def
evalS1(template: String, values: Any*): Array[String]
-
def
evalS2(template: String, values: Any*): Array[Array[String]]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
quit(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
final
def
wait(): Unit
Deprecated Value Members
-
def
finalize(): Unit
Inherited from AnyRef
Inherited from Any
A bridge to R.
In a Scala application, an instance of this class is created using its companion object as shown below.
In an R script, the object
R
is an instance of this class available in an rscala bridge created by calling the functionscala
from the package rscala. It is through this instance that callbacks to the original R interpreter are possible.All of the evaluation methods of this class have the same signature. The first argument is a template for an R expression, where
%-
is a placeholder for items that are provided as variable arguments. The result type is indicated by the suffix of the method name. See examples below.This class is threadsafe.