On May 19, 2012, at 01:45 , Noah Silverman wrote:

> Hello,
> 
> I need to design a fairly simple front-end for someone to use an R script 
> system that I've built.  My thought was to just use the text based menus 
> available in the base R package, perhaps in some kind of loop.
> 
> How have other people done this?  Any "best practices" that you can recommend?
> 

"Best practice" is a bit contentious, but several people have found that the 
tcltk package offers a path of low resistance. Just do library(tcltk) and e.g. 
demo(tkdensity) or demo(tkttest) to see whether it is of use to you (study the 
code for the demo).

In the Windows GUI, there are also features to add items to the menubar, using 
winMenuAdd and friends. These aren't portable to other architectures, though.



> Thanks!
> 
> 
> --
> Noah Silverman
> UCLA Department of Statistics
> 8117 Math Sciences Building
> Los Angeles, CA 90095
> 
> 
>       [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd....@cbs.dk  Priv: pda...@gmail.com

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to