Re: [Rpy] object not found

2009-12-09 Thread Peter
On Wed, Dec 9, 2009 at 3:23 AM, Mark Larsen wrote: > >>     slope1 = with_mode(NO_CONVERSION, r.zyp.sen)(r("p~t")) > > A quick glance tells me this line is a problem.  The "." is reserved > in Python for modules/classes, try with an underscore: > > slope1 = with_mode(NO_CONVERSION, r.zyp_sen)(r("p

Re: [Rpy] object not found

2009-12-08 Thread Mark Larsen
>     slope1 = with_mode(NO_CONVERSION, r.zyp.sen)(r("p~t")) A quick glance tells me this line is a problem. The "." is reserved in Python for modules/classes, try with an underscore: slope1 = with_mode(NO_CONVERSION, r.zyp_sen)(r("p~t"))

[Rpy] object not found

2009-12-08 Thread Edwin Maurer
I'm having trouble with the following script: #!/usr/bin/python import sys, os, string from rpy import * r.library('zyp') p = [11.3, -0.7, -17.6, -6.7, -3.0, -17.6, -6.2, 24.0, 25.9, -26.3, -19.3, -4.9, 5.5, -11.6, 6.6, -17.8] t= [2.2, 2.4, 2.5, 1.7, 2.6, 2.8, 2.0, 2.9, 3.4, 3.7, 3.2, 3.2, 1.8, 2.