public SymbolicExpression EvaluateToSymExp(string commandString)
{
SymbolicExpression returnValue;
try
{
this._RServer.Evaluate("tmp<-" + commandString); // tmp <- read.spss("", "" )
}
catch (Exception e)
{
logService.WriteToLogLevel("Could not execute: < " + commandString + " >", LogLevelEnum.Error);
}
if (!Conversions.ToBoolean(this._RServer.Evaluate("is.null(tmp)").AsLogical()[0]))
{
returnValue = this._RServer.Evaluate("tmp");//.AsList();// list("","" ....)
}
else
{
returnValue = null;
}
return returnValue;
}
/// <summary>