Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

Created Unassigned: Could not find "predict" function in C# [189]

$
0
0
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?

Viewing all articles
Browse latest Browse all 1634

Trending Articles