Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 629 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 629 Bytes

Shiny Cookie

The shinycookie package uses the js-cookie library to write cookies in Shiny applications without writing JavaScript.

  • Initialize shinycookie in your UI with initShinyCookie("myid")
  • Access cookies from the server with input$myid (for a list of all cookies) or input$myid$mycookie for a specific cookie
  • Update cookies from the server with the updateCookie function

Getting Started

Install the development version:

devtools::install_github("colearendt/shinycookie")

Examples