[R] windows common dialog for color selection in R

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue May 21 10:09:49 CEST 2002

"Gatehouse, Simon (E&M, North Ryde)" wrote:
> Dear R users,
> I run R on windows 2000 and windows 98
> I am seeking opinion, or better still a code snippet, on what might be the
> quickest, not necessarily the best or preferred way, of making the Windows
> color selection common dialog available in R. Would it be an executable
> called with system() or shell() or perhaps a tcltk module or have I missed
> something obvious?  I don't believe that I have the experience or time at
> this stage to try a dynamic link as outlined in FAQ.
> Any comments would be most welcome.

I don't know what the "Windows color selection common dialog" is, but I
guess you have to link to the appropriate windows dll.
With system ans shell you can start programs that can be executed from
the windows command shell as described in the help files. So if you can
start that dialog out of the shell (and that's not a R specific
question), you can start it from R as well. 
I wonder what you are going to do with such a dialog?

Uwe Ligges
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