Class RServeClient

    • Constructor Detail

      • RServeClient

        protected RServeClient()
                        throws IOException
        Gets connection on default host (localhost) and port (6311)
        Throws:
        IOException
    • Method Detail

      • findRserveCommand

        protected static String findRserveCommand()
      • assign

        public void assign​(String argName,
                           double[] arg)
      • assign

        public void assign​(String arg0,
                           int[] arg1)
      • assign

        public void assign​(String argName,
                           String[] array)
      • connect

        public boolean connect()
      • eval

        public org.rosuda.REngine.REXP eval​(String command)
        Description copied from interface: RClient
        Evaluate the given command
        Returns:
      • finalize

        public void finalize()
        Overrides:
        finalize in class Object
      • getLastError

        public String getLastError()
      • isConnected

        public boolean isConnected()
      • retrieveMatrix

        public DoubleMatrix<String,​String> retrieveMatrix​(String variableName)
        Description copied from interface: RClient
        Get a matrix back out of the R context. Row and Column names are filled in for the resulting object, if they are present.
        Returns:
      • voidEval

        public void voidEval​(String command)