Class RConnectionFactory

java.lang.Object
ubic.basecode.util.r.RConnectionFactory

public class RConnectionFactory extends Object
Get a connection to R, somehow (if possible).
Author:
Paul
  • Constructor Details

    • RConnectionFactory

      public RConnectionFactory()
  • Method Details

    • getRConnection

      public static RClient getRConnection()
      Get connection; if Rserve is used, connect to localhost.
      Returns:
    • getRConnection

      public static RClient getRConnection(String hostName)
      Parameters:
      hostName - The host to use for rserve connections, used only for RServe
      Returns: