[R] graphics display problem
Deling Liu
delingliu at hotmail.com
Tue Nov 5 23:34:58 CET 2002
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list