[R] Persp3d freezes when run from within Python

Duncan Murdoch murdoch.duncan at gmail.com
Mon Dec 5 14:32:26 CET 2011


On 11-12-04 8:57 PM, wchips wrote:
> G'day everyone,
>
> I've been trying to get an interactive OpenGL plot to work from within
> Python 2.6 using Rpy2 and the persp3d function. The problem is that the plot
> seems to freeze upon activation. All interactivity is lost even though it
> works fine when run from within the R console (version 2.11.1). Is this a
> known issue? Any ideas as to what might be causing this, or possibly how to
> fix it?

Presumably your Python program or Rpy2 is not simulating the event 
handling that the real R console does.  Solution:  use the real R 
console, or fix the bug in your program or Rpy2.

Duncan Murdoch

>
> cheers,
> wchips
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Persp3d-freezes-when-run-from-within-Python-tp4158940p4158940.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list