[R-sig-Fedora] rgl.snapshot only captures a small portion what's visible in the RGL device window on CentOS 7

Tom Callaway tcallawa at redhat.com
Mon Jan 11 17:04:29 CET 2016


On 01/11/2016 10:55 AM, Wittner, Ben, Ph.D. wrote:
> Dear R-SIG-Fedora,
> 
> I'm finding that on CentOS 7, rgl.snapshot (a function in the R package rgl, which provides an R interface to the OpenGL 3-d graphics library) only captures a small portion what's visible in the RGL device window. This does not happen with the same R and rgl versions on CentOS 5.3 (see details below).
> 
> The maintainer of rgl, Duncan Murdoch, responded (see below) that the rgl code has not changed in a long time, so it's likely, although not certain, that the problem lies with CentOS 7.
> 
> I know very little about graphics, but it seems to me from looking at the rgl source code that the fundamental work of rgl.snapshot is done by calls to glReadBuffer, glPixelStorei, and glReadPixels, which seem to be functions in the OpenGL library.
> 
> Can anyone take a look at this or advise me on how to proceed?

Are you using the EPEL R 3.2.3 builds? What version of Centos 7? 7.2? Is
the NVIDIA driver in play? What version of the NVIDIA driver are you using?

~tom

==
Red Hat



More information about the R-SIG-Fedora mailing list