[R] R works in KDE but not in Gnome

M. Edward Borasky znmeb at aracnet.com
Thu Feb 1 05:12:52 CET 2001


I have a Red Hat 7.0 system, plus glibc-2.2 and gcc-2.96.69. When I run the
R demo 'demo("graphics") with KDE it runs fine, but when I try it with Gnome
it croaks:

	demo(graphics)
	---- ~~~~~~~~

Type  <Return>	 to start :

> opar <- par(ask = interactive() && (.Device %in% c("X11",
    "GTK", "windows", "Macintosh")))

> x <- rnorm(50)

> opar <- c(opar, par(bg = "white"))

> plot(x, ann = FALSE, type = "n")
Hit <Return> to see next plot:

> abline(h = 0, col = gray(0.9))

> lines(x, col = "green4", lty = "dotted")
Error in plot.xy(xy.coords(x, y), type = type, col = col, lty = lty, ...) :
	Error: X11 cannot allocate additional graphics colors.
Consider using X11 with colortype="pseudo.cube" or "gray".
>

This has happened with every release of R I've tried; the latest is
R-base-1.2.1-2. BTW, if it matters, the display is set to 800x600, 8-bit
color. But it works with KDE.
--
M. Edward (Ed) Borasky
http://www.aracnet.com/~znmeb
mailto:znmeb at aracnet.com

If there's nothing to astrology, how come so many famous men were born on
holidays?

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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