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 <Enter> to exit: ") -Greg On Jun 7, 2007, at 10:24AM , pierre ratinaud wrote: > 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 is finished. > So, i was wondering if there's a python or an R instruction to keep > this > window open and active. > I use R 2.4.1 whith python 2.5.1 under ubuntu feisty. > Thanks in advance and please, excuse my english :) > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > rpy-list mailing list > rpy-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rpy-list ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list