Apr 30, 2011 at 12:08 AM

I'm receiving the following exception below during the on the last statement of the following 3 lines:

engine.SetSymbol("gld", symbol1Array);              

engine.SetSymbol("gdx", symbol2Array);

var r = engine.EagerEvaluate("library(zoo)");   // Exception thrown here

Note, this appears intermittent at time.  Also, receiving same error on the last statement of the following (these lines follow the lines above):

r = engine.EagerEvaluate(@"library(tseries)");                

r = engine.EagerEvaluate(@"gld <- zoo(as.double(gld[,2]), as.Date(date <- strptime(gld[,1], format=""%m%d%Y"")))");                

r = engine.EagerEvaluate(@"gdx <- zoo(as.double(gdx[,2]), as.Date(date <- strptime(gdx[,1], format=""%m%d%Y"")))");              

r = engine.EagerEvaluate(@"t.zoo <- merge(gld, gdx, all=FALSE)");    // Exception thrown here

The statements run in R without issue.  Please advise on what may be the root cause.  

Thanks, Duane

An exception of type System.Runtime.Serialization.SerializationException was thrown.Type 'RDotNet.ParseException' in assembly 'R.NET, Version=, Culture=neutral, PublicKeyToken=null' is not marked as serializable.   at RightEdge.Shared.SystemWrapper.RunSystem(String filename, ServiceFactory brokerFactory, PluginSettings dataStoreSettings)   at RightEdge.Shared.TradingModuleWrapper.Run(String filename)   at RightEdge.Shared.TradingModuleWrapper.RunSystem(SharedSystemRunData systemRunData)   at RightEdge.SystemProgress.InitAndRunSystem()

May 3, 2011 at 2:51 AM

Moved to Issues.