BSky.Statistics.R.RService.GetRow C# (CSharp) Method

GetRow() public method

public GetRow ( string command ) : string[]
command string
return string[]
        public string[] GetRow(string command)
        {
            string[] rowdata = null;
            SymbolicExpression se = null;
            CharacterVector cv = null;
            try
            {

                se = this._RServer.Evaluate(command);
                cv = se.AsCharacter();//Dataset[idx,]
                rowdata = cv.ToArray();
                //rowdata = new string[] { command+"one", "two", "three", "four" };
            }
            catch (Exception ex)
            {
                logService.WriteToLogLevel("command: '"+command+"' "+ex.Message, LogLevelEnum.Error);
            }
            return rowdata;
        }
        object returnVal = null;