Re: [Rpy] Using abline in Rpy2

2009-06-29 Thread laurent
You may have to tell us more about your local specifics (software version(s) for example). It appears to be working here on a linux laptop with R-2.9.0 and rpy2-2.1-dev (and I don't think of much in the recent changes that would change the way abline is displayed). Do you plot to an interactive d

[Rpy] Using abline in Rpy2

2009-06-29 Thread Donovan Parks
Hello, I've encoured some difficulty with using RPy to generate a plot showing the results of a linear regression. My code is as follows: r = robjects.r xVec = robjects.FloatVector(X) yVec = robjects.FloatVector(Y) robjects.globalEnv["xVec"] = xVec robjects

Re: [Rpy] Accessing Elements in R "vector"

2009-06-29 Thread laurent
On Mon, 2009-06-29 at 10:37 -0300, Donovan Parks wrote: > Hello, > > I am new to RPy (and R in general) and am having trouble getting > started. I'm performing a linear regression as follows: > > r = robjects.r > xVec = robjects.FloatVector(X) > yVec = robjects.FloatVector(Y)

[Rpy] Accessing Elements in R "vector"

2009-06-29 Thread Donovan Parks
Hello, I am new to RPy (and R in general) and am having trouble getting started. I'm performing a linear regression as follows: r = robjects.r xVec = robjects.FloatVector(X) yVec = robjects.FloatVector(Y) robjects.globalEnv["xVec"] = xVec robjects.globalEnv