Published by the Foundation for Open Access Statistics Editors-in-chief: Bettina Grün, Torsten Hothorn, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Authors: Adrian Bowman, Ewan Crawford, Gavin Alexander, Richard W Bowman
Title: rpanel: Simple Interactive Controls for R Functions Using the tcltk Package
Abstract: In a variety of settings it is extremely helpful to be able to apply R functions through buttons, sliders and other types of graphical control. This is particularly true in plotting activities where immediate communication between such controls and a graphical display allows the user to interact with a plot in a very effective manner. The tcltk package provides extensive tools for this and the aim of the rpanel package is to provide simple and well documented functions which make these facilities as accessible as possible. In addition, the operations which form the basis of communication within tcltk are managed in a way which allows users to write functions with a more standard form of parameter passing. This paper describes the basic design of the software and illustrates it on a variety of examples of interactive control of graphics. The tkrplot system is used to allow plots to be integrated with controls into a single panel. An example of the use of a graphical image, and the ability to interact with this, is also discussed.

Page views:: 24894. Submitted: 2006-08-29. Published: 2007-01-01.
Paper: rpanel: Simple Interactive Controls for R Functions Using the tcltk Package     Download PDF (Downloads: 26825)
rpanel_1.0-4.tar.gz: R source package Download (Downloads: 1907; 189KB) v17i09.R: R example code from the paper Download (Downloads: 1991; 1KB)

DOI: 10.18637/jss.v017.i09

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.