Skip to content

[tcl] unknown color name "red" errors

2 messages · Ken-JP

#
I am running on 64-bit Ubuntu, R version 2.8.1

If I do anything Tcl/Tk related like:
or
I get the error:

Error in structure(.External("dotTclObjv", objv, PACKAGE="tcltk"), class =
"tclObj") :
[tcl] unknown color name "red"

-------------------------------------------------

I am starting R from a terminal - is this the problem?  Should I be running
it directly from KDE somehow?
1 day later
#
On the boards for Ubuntu 8.10 64-bit, there were comments along the lines
that:

/etc/X11/rgb.txt

was missing.  

However, even after I replace this file, and logged back out in, this
problem went away.

It's shocking that a file as old/basic as /etc/X11/rgb.txt can be removed -
I'm sure a lot of programs depend on it.