[Rd] X11(colortype="true") does not give a truecolor visual (PR#1388)
Sat, 16 Mar 2002 19:12:29 +0100 (MET)
On Sat, 16 Mar 2002 Edwin@balpol.tudelft.nl wrote:
> Full_Name: Edwin
> Version: 1.4.1
> OS: SunOS/Solaris
> Submission from: (NULL) (22.214.171.124)
> When selecting an X11 visual on Solaris 2.7 with
> a PseudoColor visual is actually created. (verified with xwininfo)
Note that the help page does *not* say that this `selects a visual'. It
says it selects a `color model'. One can use a model which differs from
the X11 visual class, but the default class and depth are always used.
This seems to be a misunderstanding of the `colortype' argument: there is
no argument to select a visual class.
> The system in question (like many UNIX workstations) has both Pseudo and
> truecolor visual types available, however the default type points to an 8 plane
> PseudoColor visual.
I believe that is unusual. Sun Xservers allow you to set the default
visual on the command line: has the default been overridden? Ours with
multiple visuals are selecting TrueColor, but it does say the default is
> Some applications look for the truecolor visual (netscape, acroread) and use it
> when available. For others it needs to be explicitely requested (VNC viewer). R
> seems to do neither and just goes with the default, even if a truecolor type is
As it does not say it will do anything else, this is not strictly a bug.
It needs someone with the problem to contribute an enhancement, perhaps
additional arguments to select the visual class and depth?
Brian D. Ripley, email@example.com
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: firstname.lastname@example.org