object RClient
The companion object to the RClient class used to create an instance of the RClient class in a Scala application.
An object R
is an RClient instance available in a Scala interpreter created by calling the function
scala
from the package rscala. It is through this instance
R
that callbacks to the original R interpreter are possible.
The paths of the rscala's JARs are available from R using
rscala::.rscalaJar()
. To get just the JAR for Scala 2.12, for example, use rscala::.rscalaJar("2.12")
.
val R = org.ddahl.rscala.RClient()
- Alphabetic
- By Inheritance
- RClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(scalaServer: ScalaServer, rProcessInstance: Process, socket: ScalaSocket, debugger: Debugger, serializeOutput: Boolean, rowMajor: Boolean): RClient
For rscala developers only: Returns an instance of the RClient class.
-
def
apply(rCmd: String = defaultRCmd, serializeOutput: Boolean = true, rowMajor: Boolean = true, port: Int = 0, debug: Boolean = false): RClient
Returns an instance of the RClient class, using the path specified by
rCmd
and specifying whether output should be serialized, whether matrices are row major, whether debugging output should be displayed, and the port number.Returns an instance of the RClient class, using the path specified by
rCmd
and specifying whether output should be serialized, whether matrices are row major, whether debugging output should be displayed, and the port number. Two sockets are establised using: 1. the specified port and 2. the specified port plus one. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def defaultRCmd: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def findROnWindows: String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )