rpanel: Simple interactive controls for R functions using the tcltk package

Bowman, A. , Crawford, E., Alexander, G. and Bowman, R. W. (2007) rpanel: Simple interactive controls for R functions using the tcltk package. Journal of Statistical Software, 17(9), (doi: 10.18637/jss.v017.i09)

[img] Text
13510.pdf - Published Version
Available under License Creative Commons Attribution.


Publisher's URL: https://doi.org/10.18637/jss.v017.i09


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.

Item Type:Articles
Glasgow Author(s) Enlighten ID:Bowman, Prof Adrian
Authors: Bowman, A., Crawford, E., Alexander, G., and Bowman, R. W.
College/School:College of Science and Engineering > School of Mathematics and Statistics > Statistics
Journal Name:Journal of Statistical Software
Publisher:American Statistical Association
Copyright Holders:Copyright © 2007 The Authors
First Published:First published in Journal of Statistical Software 17(9)
Publisher Policy:Reproduced under a Creative Commons License

University Staff: Request a correction | Enlighten Editors: Update this record