com.apama.r
Event RFactory


Initialize the R plug-in and make a connection to R using the host and port provided by the user.

For static action openDefault() connection is made to host := 127.0.0.1 and port := 6311. For static action open(string host, integer port) connection is made to the provided host and port.
Since:
10.1
See Also:
com.apama.r.RConnection

Action summary
 com.apama.r.RConnectionstatic open(string host, integer port)

Create a connnection to R using provided host and port. Can be run from multiple contexts. Will share a connection if host:port connection already found.
 com.apama.r.RConnectionstatic openDefault()

Create a connnection to R with default host and port. default host = 127.0.0.1, default port = 6311. Can be run from multiple contexts. Will share a connection if host:port connection already found.
 
Action detail

open

com.apama.r.RConnection static open(string host, integer port)
Create a connnection to R using provided host and port. Can be run from multiple contexts. Will share a connection if host:port connection already found.
Parameters:
host - The host name, IP address or socket to connect to
port - The port to connect to. -1 indicates host is a socket
Returns:
A RConnection object which can be used to interact with R

openDefault

com.apama.r.RConnection static openDefault()
Create a connnection to R with default host and port. default host = 127.0.0.1, default port = 6311. Can be run from multiple contexts. Will share a connection if host:port connection already found.
Returns:
A RConnection object which can be used to interact with R
See Also:
com.apama.r.RFactory.open()