[R] Larger rgl-images?

Duncan Murdoch murdoch.duncan at gmail.com
Sat Apr 29 00:49:24 CEST 2017


On 28/04/2017 5:18 AM, Atte Tenkanen wrote:
> Hi,
>
> In package ‘VecStatGraphs3D’ is a DrawDensity3D-function in which the
> rgl-device size is defined as
> r3dDefaults$windowRect=c(0,0, WSizeWidth, WSizeHeight).
>
> To save, for instance, a png-snapshot, we can use rgl.snapshot()-function.
>
> The size of the file is dependent on the window and thus your screen and
> video card.
>
> Can we somehow produce  larger images virtually, for example, 4k-images
> (3840x2160)?
>

I don't know of a way to do that.  If you can create a virtual screen of 
that size, and your system allows you to create a window on it, then it 
might work:  but I haven't come across a way to do that that also 
supports OpenGL in the virtual window.

Duncan Murdoch



More information about the R-help mailing list