[R] How to set the size of a rgl window, par3d() ?

From: begert <begert_at_ipb-halle.de>
Date: Wed 04 Jan 2006 - 02:30:04 EST


Dear R- Users,

   is there a way to determine the size of    an rgl window (rgl.open()) either in advance or    afterwards, (without using the mouse, of course) ?

   Intuitively, one would assume to set the size by:

   library("rgl");
   par3d(viewport=c(0,0,500,500));
   #rgl.open();

   for example. As the parameter 'viewport' is 'readonly'    this results in an error message:
   Error in par3d(viewport = c(0, 0, 500, 500)) :    invalid value specified for rgl parameter "viewport"    In addition: Warning message:
   parameter "viewport" cannot be set.

   Any possible workarounds ?

Thanks
Bjoern



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jan 04 02:42:24 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:45 EST