[R] how to call R commands from .net

agent dunham crosspide at hotmail.com
Wed Aug 8 11:35:17 CEST 2012


Dear community, 

I want to call R from .net. Precisely I´d really like to call rpart from
.net, plot decision trees and predict with them.

I have installed the COM server
(http://cran.es.r-project.org/contrib/extra/dcom/). Just to note, because it
is from 2008,  the only way to work with this server in .net seems to be
with R 2.11 version, isn't it? 

The connection is correct. But I don´t know how to call rpart from .net:

- how do I write in .net? :

"myrpart <- rpart(vind ~  vd1 + vd2+ ...... + vd15 , data = mydata.frame,
method="anova", control=list(minsplit=20, cp=0.001))"

- how do i have to store the variables vind and vdi ?


Thanks in advance, 
user at host.com as user at host.com




--
View this message in context: http://r.789695.n4.nabble.com/how-to-call-R-commands-from-net-tp4639558.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list