RockScience
RockScience

Reputation: 18580

is there a way to call R functions from C# and retrieve the result in C#

Is there a way to call R functions from C# and retrieve the result in C#?

Upvotes: 38

Views: 28062

Answers (2)

Rob Sedgwick
Rob Sedgwick

Reputation: 4514

R.NET (rdotnet) is designed to do this:

Older versions can be found here:

Upvotes: 16

Brendan Grant
Brendan Grant

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

Related Questions