In my shiny application, I would like to have a textarea field that allows the users to give text input. This can be done with:
ui.R:
tags$textarea(id="item",rows=3,cols=40,placeholder="Type your message...")
verbatimTextOutput("news")
server.R:
output$news <- renderText(input$item)
With this code, I can only see the text input within the current session of the app. My goal is, to save user text input permanently in the app (user gives text input, submits and data will be displayed in the app permanently). Is this possible with shiny? My idea was to store the data in a global way like googlesheets.
<<-
instead of<-
. If you want each user to have specific save, then you should look at [shiny.rstudio.com/reference/shiny/latest/session.html] (sessioninfo) and bind it to each user – Pork Chop