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?Nadjib Bendaoud– Nadjib Bendaoud2017-11-06 20:39:30 +00:00Commented Nov 6, 2017 at 20:39
-
1You should use R.MrFlick– MrFlick2017-11-06 20:48:18 +00:00Commented 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 itNadjib Bendaoud– Nadjib Bendaoud2017-11-06 21:00:10 +00:00Commented Nov 6, 2017 at 21:00
Add a comment
|
1 Answer
3 Comments
Nadjib Bendaoud
thank you Maxim Goncharuk, if i use R.Net, will my application run even machines that don't have R installed in them ?
Maxim Goncharuk
@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.
Nadjib Bendaoud
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#