shinysnap: Save and Restore the State of 'shiny' Applications

Save the state of applications built with 'shiny', the web application framework by Chang et al. (2026) <doi:10.32614/CRAN.package.shiny>. Users can share their work and continue it in another session. Input values and selected values held by the server are saved in JSON (JavaScript Object Notation) files that can be read and edited by hand. Saved state can be restored without reloading the page or setting up bookmarking. Restoration waits for inputs that appear as the page changes and reports which values were restored, missing, or could not be applied.

Version: 0.1.0
Imports: htmltools, jsonlite, promises, R6, shiny (≥ 1.8.0), utils, zmij
Suggests: bslib, chromote, httpuv, knitr, later, rmarkdown, shinyMatrix, shinytest2, testthat (≥ 3.0.0), withr, zip
Published: 2026-09-28
DOI: 10.32614/CRAN.package.shinysnap (may not be active yet)
Author: Nan Xiao ORCID iD [aut, cre, cph]
Maintainer: Nan Xiao <me at nanx.me>
BugReports: https://github.com/nanxstats/shinysnap/issues
License: MIT + file LICENSE
URL: https://nanx.me/shinysnap/, https://github.com/nanxstats/shinysnap
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: shinysnap results

Documentation:

Reference manual: shinysnap.html , shinysnap.pdf
Vignettes: Restoring custom inputs (source, R code)
Restoring dynamic UI (source, R code)
The snapshot file format (source, R code)
Snapshots and bookmarks (source, R code)
Get started with shinysnap (source, R code)

Downloads:

Package source: shinysnap_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: shinysnap_0.1.0.zip
macOS binaries: r-release (arm64): shinysnap_0.1.0.tgz, r-oldrel (arm64): shinysnap_0.1.0.tgz, r-release (x86_64): shinysnap_0.1.0.tgz, r-oldrel (x86_64): shinysnap_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=shinysnap to link to this page.

mirror server hosted at Truenetwork, Russian Federation.