Gatehouse, Simon (E&M, North Ryde)
2002-May-21 00:49 UTC
[R] windows common dialog for color selection in R
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. *********************************** Simon Gatehouse CSIRO Exploration and Mining, Newbigin Close off Julius Ave North Ryde, NSW Mail: PO Box 136, North Ryde NSW 1670, Australia Phone: 61 (2) 9490 8677 Fax: 61 (2) 9490 8921 Mobile: 61 0407 130 635 E-mail: simon.gatehouse at csiro.au Web Page: http://www.csiro.au/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._