[R] R works in KDE but not in Gnome

About this list Date view Thread view Subject view Author view Other groups

Subject: [R] R works in KDE but not in Gnome
From: M. Edward Borasky (znmeb@aracnet.com)
Date: Thu 01 Feb 2001 - 14:12:52 EST


Message-ID: <HBEHIIBBKKNOBLMPKCBBGEFDDCAA.znmeb@aracnet.com>

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@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@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Thu 01 Feb 2001 - 16:14:45 EST