Sumo: An Authenticating Web Application with an Embedded R Session

Sumo is a web application intended as a template for developers. It is distributed as a Java ‘war’ file that deploys automatically when placed in a Servlet container’s ‘webapps’ directory. If a user supplies proper credentials, Sumo creates a session-specific Secure Shell connection to the host and a user-specific R session over that connection. Developers may write dynamic server pages that make use of the persistent R session and user-specific file space. The supplied example plots a data set conditional on preferences indicated by the user; it also displays some static text. A companion server page allows the user to interact directly with the R session. Sumo’s novel feature set complements previous efforts to supply R functionality over the internet.

Timothy T. Bergsma , Michael S. Smith
2012-6-01

CRAN packages used

Rpad, brew, R.rsp, Rook, Rserve, R2HTML

CRAN Task Views implied by cited packages

ReproducibleResearch, WebTechnologies, NumericalMathematics

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Bergsma & Smith, "Sumo: An Authenticating Web Application with an Embedded R Session", The R Journal, 2012

BibTeX citation

@article{RJ-2012-008,
  author = {Bergsma, Timothy T. and Smith, Michael S.},
  title = {Sumo: An Authenticating Web Application with an Embedded R Session},
  journal = {The R Journal},
  year = {2012},
  note = {https://doi.org/10.32614/RJ-2012-008},
  doi = {10.32614/RJ-2012-008},
  volume = {4},
  issue = {1},
  issn = {2073-4859},
  pages = {60-63}
}