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

Adrian Bowman, Ewan Crawford, Gavin Alexander, Richard W. Bowman

Research output: Contribution to journalArticle

15 Citations (Scopus)

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.

Original languageEnglish
Pages (from-to)1-15
Number of pages15
JournalJournal of Statistical Software
Volume17
Issue number9
DOIs
Publication statusPublished - Jan 2007

Fingerprint

Graphical Display
Scientific notation
Communication
Display devices
Software
Graphics
Design
Integrated

Keywords

  • Dynamic graphics
  • Graphical user interface
  • Interactive plots
  • R
  • Tcltk

ASJC Scopus subject areas

  • Software
  • Statistics and Probability

Cite this

Rpanel : Simple interactive controls for R functions using the tcltk package. / Bowman, Adrian; Crawford, Ewan; Alexander, Gavin; Bowman, Richard W.

In: Journal of Statistical Software, Vol. 17, No. 9, 01.2007, p. 1-15.

Research output: Contribution to journalArticle

Bowman, Adrian ; Crawford, Ewan ; Alexander, Gavin ; Bowman, Richard W. / Rpanel : Simple interactive controls for R functions using the tcltk package. In: Journal of Statistical Software. 2007 ; Vol. 17, No. 9. pp. 1-15.
@article{b51eff6a8c4f436eae4eab1d437f925b,
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.",
keywords = "Dynamic graphics, Graphical user interface, Interactive plots, R, Tcltk",
author = "Adrian Bowman and Ewan Crawford and Gavin Alexander and Bowman, {Richard W.}",
year = "2007",
month = "1",
doi = "10.18637/jss.v017.i09",
language = "English",
volume = "17",
pages = "1--15",
journal = "Journal of Statistical Software",
issn = "1548-7660",
publisher = "University of California at Los Angeles",
number = "9",

}

TY - JOUR

T1 - Rpanel

T2 - Simple interactive controls for R functions using the tcltk package

AU - Bowman, Adrian

AU - Crawford, Ewan

AU - Alexander, Gavin

AU - Bowman, Richard W.

PY - 2007/1

Y1 - 2007/1

N2 - 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.

AB - 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.

KW - Dynamic graphics

KW - Graphical user interface

KW - Interactive plots

KW - R

KW - Tcltk

UR - http://www.scopus.com/inward/record.url?scp=33846154282&partnerID=8YFLogxK

U2 - 10.18637/jss.v017.i09

DO - 10.18637/jss.v017.i09

M3 - Article

AN - SCOPUS:33846154282

VL - 17

SP - 1

EP - 15

JO - Journal of Statistical Software

JF - Journal of Statistical Software

SN - 1548-7660

IS - 9

ER -