Package ubic.basecode.util.r
Class RConnectionFactory
java.lang.Object
ubic.basecode.util.r.RConnectionFactory
Get a connection to R, somehow (if possible).
- Author:
- Paul
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RClient
Get connection; if Rserve is used, connect to localhost.static RClient
getRConnection
(String hostName)
-
Constructor Details
-
RConnectionFactory
public RConnectionFactory()
-
-
Method Details
-
getRConnection
Get connection; if Rserve is used, connect to localhost.- Returns:
-
getRConnection
- Parameters:
hostName
- The host to use for rserve connections, used only for RServe- Returns:
-