[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

[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

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