public override void onLoad() { dispatcher = new RService(); _journal = new Journal() { FileName = DirectoryHelper.GetJournalFileName(), MaxFileSize = 50, MaxBackupFiles = 10 }; rpm = new RPackageManager(dispatcher, _journal);//30Jan2014 }
public RPackageManager(RService dispatcher, Journal journal) { _journal = journal; _dispatcher = dispatcher; //can be executed once here and then no need to use it methods below. string errmsg = _dispatcher.EvaluateNoReturn("library(tools)"); if (errmsg != null && errmsg.Trim().Length < 1) //error occurred { } }