[Rcom-l] "#RError while using getarray"

2007-09-12 Thread sakib mondal
Hello, I shall appreciate any help on the problem as mentioned below. I am using Ada package, which has a predict function that works like predict.rpart. When I run a piece of code (e.g. pred <- predict(gdis, train[,-1], type = "prob") ) in R, and type "pred" at the R prompt, I get the proba

[Rcom-l] R (D)Com command syntax differences?

2007-09-12 Thread andrew sacher
Hi, I have used the DCom server to call R from .Net. The connection works but some regression commands that work fine in R standalone produce errors, can anyone tell me what I am doing wrong? For instance, the command [rComm.EvaluateNoReturn("plsr<-arima(ser112))] works fine (after I have transf

[Rcom-l] Passing array from python to R

2007-09-12 Thread David Montgomery
Hi, I am new to Rcom I have a 2D matrix array in python that I would like to pass to R so I can use the array for a regression. What is the code that I would use? I am using Python 2.5 and R2.5.1 on windows vista as an FYI Thanks, David_