Reputation: 18580
Is there a way to call R functions from C# and retrieve the result in C#?
Upvotes: 38
Views: 28062
Reputation: 4514
R.NET (rdotnet) is designed to do this:
Older versions can be found here:
Upvotes: 16
Reputation: 1022
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
Upvotes: 23