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

2007-09-13 Thread sakib mondal
Hi, I am sorry for the repost. Since I did not get any response, I am thinking whether I could get help on the following part of the problem related to capture.output. Dim cmdString As String cmdString = "predict(gdis, train[,-1], type = 'prob')" Call Rinterface.RRun("myOutput<-capture.o

Re: [Rcom-l] Simple Regression Test

2007-09-13 Thread Thomas Baier
David, > I am using Python 2.5 and R2.5.1 > > I am trying to do a simple test using the Iris data set and a regression. > > Here is my code > > > from win32com.client import Dispatch > r=Dispatch("StatConnectorSrv.StatConnector") > r.Init("R") > r.Evaluate("data(iris)") > r.Evaluate("iris.

[Rcom-l] Simple Regression Test

2007-09-13 Thread David Montgomery
Hi, I am using Python 2.5 and R2.5.1 I am trying to do a simple test using the Iris data set and a regression. Here is my code from win32com.client import Dispatch r=Dispatch("StatConnectorSrv.StatConnector") r.Init("R") r.Evaluate("data(iris)") r.Evaluate("iris.lm <- lm(Sepal.Length ~ S