#-------Method 1:r (D) COM Server----------
It is not recommended to use Rserve under Windows because of the loss of performance, and they recommend ways to consider DCOM.
Install.packages ("Rdcomserver") # Not available for R 3.3.3
Library ("Rdcomserver")
Using Statconnectorclntlib
Reference: https://cos.name/cn/topic/103438/
#-------Method 2:r.net--------------
R.net enables. NET languages (including C #) to interact with the R language, and they run in the same process. R.net needs to use the. NET Framework 4 and the R DLLs installed with the R environment.
Unfortunately, R.dll does not support multi-threading and is therefore less suitable for building Web applications. Details: http://rdotnet.codeplex.com/discussions/267550
Reference:
http://jmp75.github.io/rdotnet/
http://blog.csdn.net/cyb6100300115/article/details/12835819
Http://www.cnblogs.com/smilejian/p/4750235.html
https://rdotnet.codeplex.com/workitem/117
#----------Method 3:rserve-----------------------
Primarily Linux-based. Stability and security under Windows is not very good, only one connection (single thread) can be supported at a time.
Reference:
http://rservecli.codeplex.com/
Http://www.ci.tuwien.ac.at/Conferences/DSC-2003/Proceedings/Urbanek.pdf
C#. NET program calls R