On Tue, Oct 13, 2009 at 6:21 PM, Edwin Maurer <emau...@scu.edu> 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.kde)(x=x1,H=Hpi1)
> And it seems to work.

Great.

> 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!

Personally I used to just write directly to a PDF or PNG file, which bypasses
the whole dynamic popup windows thing and the complications it brings.
Note in rpy you'll need to use dev_off to access the dev.off function in R.

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