[Rpy] keep a rgl window open and active

2007-06-07 Thread pierre ratinaud
I all, sorry if this is a noob question but i can't find an answer for this. Is there a way to keep a rgl window open when it has been called by rpy ? for example, this code: r('plot3d.ca(mydata)') works in a python interpreter but in a python script, the window is shown and quit when the script

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

[Rpy] keep an rgl windows open and active

2007-06-07 Thread pierre ratinaud
I all, sorry if this is a noob question but i can't find an answer for this. Is there a way to keep a rgl window open when it has been called by rpy ? for example, this code: r('plot3d.ca(mydata)') works in a python interpreter but in a python script, the window is shown and quit when the script