Class RConnectionFactory


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

      • RConnectionFactory

        public RConnectionFactory()
    • Method Detail

      • 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: