Is there any way to call R function by using R.NET from C#?
I'm using Visual Studio 2017 and installed the latest version of R.NET. I had tried to use the codesearch from Google which using REngine.SetDllDirectory
but Visual Studio show out an error:
<'REngine' does not contain a definition for 'SetDllDirectory'>.
Yes it is possible.
Some Gotchas that I found:
1) Be sure to modify your VS 2017 install to include the Data science and analytical applications. This will install the R server onto your machine.
2) Run in 64bit mode only.
3) Get the vanilla hello world sample going first.