Skip to content

graphics display problem

2 messages · Jason Turner, Deling Liu

#
On Tue, Nov 05, 2002 at 02:34:58PM -0800, Deling Liu wrote:
...
Nope.  You have a 256 colour display, and you're running something else that's
consuming all the available colours.  Solutions are:

1) try again, but this time, a) close all R plot windows, b) use the command 
(as suggested in the error message) X11(colortype="pseudo.cube".
then try your plot command again.

2) find the most colourful applications you're running (gnome is notorious,
as is netscape/mozilla), and shut them, and try again.

3) get a better graphics card.

Cheers

Jason
#
Hello all,

I come arcoss a problem that has to do with graphics display in my machine 
(Redhat 7.35).

This is what I did. I asked R to do multiple linear regression by:

  amodel<-lm(dat[,4]~dat[,1]+dat[,2]+dat[,3])
  plot(amodel)

  and I got only one figure (residuals vs. the fitted; instead of several
  plots), and the following message:

  Error in abline (h=0, lty=3, col="gray"):
      Error: X11 cannot allocate additional graphics colors
  Consider using X11 with colortype="pseudo cube" or "gray".

  Does it seem that X windows has a problem with "gray"? Can the default
  color used by abline() be changed to something other than gray?  Or is it 
caused by incomplete R installation?

  Thanks for the help!
  Deling










_________________________________________________________________



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._