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 window pops up and then instantly disappears. Now I need to 
figure out how to keep the graphics window from disappearing immediately, 
another beginner issue!
 
Ed
 
> 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 in the documentation
(and numerous mailing list questions). I'd say 9 times out of 10,
this is what catches beginners out.
 
I would write more, but I'm in a rush right now. I'll check this
thread again later if you are still stuck - or someone else might
try your example in full - complete examples are very useful
when asking for help :)
 
Regards,
 
Peter


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to