is there a way to call R functions from C# and retrieve the result in C#
Is there a way to call R functions fro开发者_Python百科m C# and retrieve the result in C#?
Given there is a COM interface to R, you can use C#'s COM interop to control it.
See this article for more details: http://www.codeproject.com/KB/cs/RtoCSharp.aspx
r.net is designed to do this:
https://jmp75.github.io/rdotnet/
older versions can be found here:
http://rdotnet.codeplex.com/
精彩评论