0

I have a function that is written in the R programming language and I want to use it in a c# application. I need an API that will work as an R interface in my c# program, and don't need R installed to work, because the c# program will be used in machines that will not have R installed on them.

3
  • I have a function in R that i need to call giving it an input, it will return some output, what should i use? Commented Nov 6, 2017 at 20:39
  • 1
    You should use R. Commented Nov 6, 2017 at 20:48
  • it's a very difficult function that i can't rewrite in c# so i need another way to use it Commented Nov 6, 2017 at 21:00

1 Answer 1

1

You'd need to install R.Net library to run R in .NET Framework.

Sign up to request clarification or add additional context in comments.

3 Comments

thank you Maxim Goncharuk, if i use R.Net, will my application run even machines that don't have R installed in them ?
@NadjibBendaoud you would need to have native R DLL on you machine. If it is only one function, it would be better to rewrite it in C# without any dependencies to R.
yes i know but it's a very compliated function that uses dataframes and operations on dataframes, so it will be difficult to use rewrite it in c#

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.