I have a R script on the server which has some functions in it. I want to load those functions into Rserve and use them in the eval. But when I load the script using source it fails.
Is there a way to load external script into rserve and use the functions defined in it.
s.VoidEval(string.Format("source(\"{0}\")", scriptPath));
var data = s.Eval(string.Format("processInput(\"{0}\")", csvPath));
I have a R script on the server which has some functions in it. I want to load those functions into Rserve and use them in the eval. But when I load the script using source it fails.
Is there a way to load external script into rserve and use the functions defined in it.
s.VoidEval(string.Format("source(\"{0}\")", scriptPath)); var data = s.Eval(string.Format("processInput(\"{0}\")", csvPath));