Current Volume | Browse | Search | RSSHome | Instructions for Authors | JSS Style Guide | Editorial Board

Authors: Adrian Bowman, Ewan Crawford, Gavin Alexander, Richard W Bowman
Title: [download]
(21037)
rpanel: Simple Interactive Controls for R Functions Using the tcltk Package
Reference: Vol. 17, Issue 9, Jan 2007
Submitted 2006-08-29, Accepted 2007-01-01
Type: Article
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.

Paper: [download]
(21037)
rpanel: Simple Interactive Controls for R Functions Using the tcltk Package
(application/pdf, 853 KB)
Supplements: [download]
(1715)
rpanel_1.0-4.tar.gz: R source package
(application/x-gzip, 189.7 KB)
[download]
(1821)
v17i09.R: R example code from the paper
(application/x-zip-compressed, 1.6 KB)
Resources: BibTeX | OAI
Creative Commons License
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)
Current Volume | Browse | Search | RSSHome | Instructions for Authors | JSS Style Guide | Editorial Board