Hi,
I'd like to get an answer to the original question - if I have a function defined in a file, how do I execute it from c#?
var f = engine.Evaluate("USE SCRIPT FROM FILE").AsFunction();
var result = f.Invoke().AsDataFrame();
I've tried OP's approach of using source(...) but that throws ' Value does not fall within the expected range.' error trying to evaluate.
Thank you,
Eugene
I'd like to get an answer to the original question - if I have a function defined in a file, how do I execute it from c#?
var f = engine.Evaluate("USE SCRIPT FROM FILE").AsFunction();
var result = f.Invoke().AsDataFrame();
I've tried OP's approach of using source(...) but that throws ' Value does not fall within the expected range.' error trying to evaluate.
Thank you,
Eugene