Closing an X11 window is an interactive event: http://rpy.sourceforge.net/rpy2/doc-2.1/html/rinterface.html#processing-interactive-events
On 03/04/10 17:07, Vincent Davis wrote: > I am running on osx, and new to R and rpy2. I don't seem to be able to > close plots. for example from the introduction to rpy2 > > import rpy2.robjects as robjects > > r = robjects.r > > x = robjects.IntVector(range(10)) > y = r.rnorm(10) > > r.X11() > > r.layout(r.matrix(robjects.IntVector([1,2,3,2]), nrow=2, ncol=2)) > r.plot(r.runif(10), y, xlab="runif", ylab="foo/bar", col="red") > > > I get a nice plot that opens in an x11 window but I can't close it. I assume > I am missing something obvious. > > > > > *Vincent Davis > 720-301-3003 * > vinc...@vincentdavis.net <mailto:vinc...@vincentdavis.net> > > my blog <http://vincentdavis.net> | LinkedIn > <http://www.linkedin.com/in/vincentdavis> > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > > _______________________________________________ > rpy-list mailing list > rpy-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rpy-list ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list