arrow
Return

Reactive Programming for Interactive Graphics

delete2014-05-01
delete18
delete
OA
AI
Y
Yihui Xie *
H
Heike Hofmann
X
Xiaoyue Cheng
DOI:10.1214/14-STS477delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
One of the big challenges of developing interactive statistical applications is the management of the data pipeline, which controls transformations from data to plot. The user's interactions needs to be propagated through these modules and reflected in the output representation at a fast pace. Each individual module may be easy to develop and manage, but the dependency structure can be quite challenging. The MVC (Model/View/Controller) pattern is an attempt to solve the problem by separating the user's interaction from the representation of the data. In this paper we discuss the paradigm of reactive programming in the framework of the MVC architecture and show its applicability to interactive graphics. Under this paradigm, developers benefit from the separation of user interaction from the graphical representation, which makes it easier for users and developers to extend interactive applications. We show the central role of reactive data objects in an interactive graphics system, implemented as the R package cranvas, which is freely available on GitHub and the main developers include the authors of this paper.
Keywords:
Reactive programming
interactive graphics
R language

Journal

Statistical Science cover
Statistical Science
IF:
3.4
Papers:
1.0K
Citations:
9.4K

Organization

I
Iowa State University
Scholars:
773
Papers: 332
Citations: 1.5K
Cited Papers

Cited Papers

Survival rates in West African savanna birds
err2013-04-04
err0
PREAI
errMatt C Stevens; Ulf Ottosson; Ross McGregor; Miriam Brandt; Will Cresswell
errShare
errSave
Anti-Helicobacter pylori compounds from the ethanol extracts of Geranium wilfordii
err2013-05-01
err0
PREAI
errXi-Quan Zhang; Hong-Mei Gu; Xin-Zhu Li; Zhong-Nan Xu; Yu-Sheng Chen; Yang Li
errShare
errSave
Establishment of patient-derived cancer xenografts in immunodeficient NOG mice
err2015-05-11
err0
errOAAI
errTSUYOSHI CHIJIWA; KENJI KAWAI; AKIRA NOGUCHI; HIDEMITSU SATO; AKIMUNE HAYASHI; HARUHIKO CHO; MANABU SHIOZAWA; TAKESHI KISHIDA; SOICHIRO MORINAGA; TOMOYUKI YOKOSE; MAKOTO KATAYAMA; NOBUO TAKENAKA; HIROSHI SUEMIZU; ROPPEI YAMADA; YOSHIYASU NAKAMURA; TAKASHI OHTSU; YASUO TAKANO; KOHZOH IMAI; YOHEI MIYAGI; MASATO NAKAMURA
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
Alcohol Craving Scale Based on Three Factors
err2009-03-30
err0
PREAI
errMonica Jimenez; José Luis Graña; Victoria Montes; Gabriel Rubio
errShare
errSave
researcher View more