1
Vote

Could not find "predict" function in C#

description

I have a simple call in C#:
var predict = rengine.Evaluate("predict").AsFunction();

When I use this from a console application it's working fine, but when I call it from an Web.Api service I get the error " object predict not found". I need to do something special when I use R.NET in a Web.Api?

file attachments

comments