Re: [Rpy] keep a rgl window open and active

2007-06-08 Thread Gregory Warnes
Hi Pierre, I'm sorry to hear that readlines() doesn't work properly under wxPython. It sounds like I need to take a look at it. In any case, The important concept is to prevent the script from exiting until you are done with the graph. There are many ways to accomplish this. -G On Jun

Re: [Rpy] keep a rgl window open and active

2007-06-08 Thread pierre ratinaud
Hi Greg, thank you for your answer and sorry for double posting. > r.readline("Press to exit: ") This work for me in simple python script. But the window freezes (I can't zoom, rotate or even close the window) if i use it in a wxpython script. And i've got a segfault if I launch rgl twice : add

Re: [Rpy] keep a rgl window open and active

2007-06-07 Thread Gregory Warnes
Hi Pierre, The easiest way to keep the window open is to prevent the script from exiting until you are done with the display. This can be accomplished by something like: r.readline("Press to exit: ") -Greg On Jun 7, 2007, at 10:24AM , pierre ratinaud wrote: > I all, > sorry if this is