[R] Dialog boxes
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Wed Mar 29 20:53:42 CEST 2000
On Wed, 29 Mar 2000, Jack Lewis wrote:
> I am brand new to R, though I've used S-Plus for some time. I've
> developed some specialized plotting functions that I want to distribute
> and would like to provide users with a dialogbox for entering input
On Windows, I guess?
> Has anyone developed functions in R for displaying
> dialogboxes that could accept multiple inputs? I found winDialog and
> winDialogString, but these only accept and return a single value. Does
> anyone know how these might be extended for more flexibility?
Yes, but you will need to program at the C level to do so. Just copy the
way those functions are implemented in a .External call, and you can
do more or less what you like. There is a pretty general GUI toolkit
available at the C level.
I do appreciate that is probably not what you are expecting, but S-PLUS's
GUI interface was many man-years of work, and that is what you pay for with
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
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