Re: [Rpy] printing object with rpy

2009-10-13 Thread Peter
On Tue, Oct 13, 2009 at 6:21 PM, Edwin Maurer wrote: > Thanks. I have changed the two lines returning more complex R objects from: > Hpi1 = r.Hscv(x = x1,pre='scale') > fhat = r.kde(x=x1,H=Hpi1) > to: > Hpi1 = with_mode(NO_CONVERSION, r.Hscv)(x = x1,pre='scale') > fhat = with_mode(NO_CONVERSION, r

Re: [Rpy] printing object with rpy

2009-10-13 Thread Edwin Maurer
Thanks. I have changed the two lines returning more complex R objects from: Hpi1 = r.Hscv(x = x1,pre='scale') fhat = r.kde(x=x1,H=Hpi1) to: Hpi1 = with_mode(NO_CONVERSION, r.Hscv)(x = x1,pre='scale') fhat = with_mode(NO_CONVERSION, r.kde)(x=x1,H=Hpi1) And it seems to work. Well, the graphics win

Re: [Rpy] printing object with rpy

2009-10-13 Thread Peter
On Tue, Oct 13, 2009 at 1:09 AM, Edwin Maurer wrote: > Here is a segment of the script I have: > > #!/usr/bin/python > import sys, os, string > ... > What am I missing here? Hi Ed, This is almost certainly due to the default (lossy) object conversion. Try turning off the conversion as explained