C#. NET program calls R

Source: Internet
Author: User

#-------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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.