Amitava1 M
2009-Sep-10 12:40 UTC
[R] Build a connectivity between .NET and R without using any interface
Dear All I like to develop an application using .NET and R. The front end would be .NET and statistical analysis would be done in R in the back end. So I want to integrate .NET(VB) with R without using any interface (e.g., R (D)com) to control. Secondly, I like to use Rscript (by calling .R files) from VB .NET environment for the analysis. Finally, I want to display the R-outputs including graphs on .NET controls (UI). Please help me out. Thank you in advance. Regards Amitava =====-----=====-----====Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you [[alternative HTML version deleted]]
Duncan Murdoch
2009-Sep-10 12:49 UTC
[R] Build a connectivity between .NET and R without using any interface
On 9/10/2009 8:40 AM, Amitava1 M wrote:> Dear All > > I like to develop an application using .NET and R. The front end would be > .NET and statistical analysis would be done in R in the back end. So I > want to integrate .NET(VB) with R without using any interface (e.g., R > (D)com) to control. Secondly, I like to use Rscript (by calling .R files) > from VB .NET environment for the analysis. Finally, I want to display the > R-outputs including graphs on .NET controls (UI). > > Please help me out. Thank you in advance.Those seem to be mostly questions about .NET -- you may be better off asking Microsoft. R's interface is described in the Writing R Extensions manual, assuming that a front-end would be written in C or some similar language. If you want to avoid the DCOM interface, you're going to have to work out how to make .NET act the way described in that manual. Duncan Murdoch
Gabor Grothendieck
2009-Sep-10 13:09 UTC
[R] Build a connectivity between .NET and R without using any interface
System.Diagnostics.Process in .Net can launch any program such as Rscript. If that is not enough of a pointer to get you going you need to post to a .Net group since this really is about .Net programming, not about R programming. On Thu, Sep 10, 2009 at 8:40 AM, Amitava1 M <amitava1.m at tcs.com> wrote:> Dear All > > I like to develop an application using .NET and R. The front end would be > .NET and statistical analysis would be done in R in the back end. So I > want to integrate .NET(VB) with R without using any interface (e.g., R > (D)com) to control. Secondly, I like to use Rscript (by calling .R files) > from VB .NET environment for the analysis. Finally, I want to display the > R-outputs including graphs on .NET controls (UI). > > Please help me out. Thank you in advance. > > Regards > Amitava > =====-----=====-----====> Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > > ? ? ? ?[[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >