Ben Shoemaker
unread,Apr 3, 2013, 3:50:29 PM4/3/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to shiny-...@googlegroups.com
I've got the following code:
dateRange = rev(seq(as.Date("2013-03-12"), Sys.Date()-1, by = 1))
shinyUI(pageWithSidebar(
headerPanel("..."),
sidebarPanel(
selectInput("startDate", "Start Date:", c(dateRange)),
selectInput("endDate", "End Date:", c(dateRange)),
This process runs on a server using Shiny Server, and it runs continuously. As I understand it, unless UI.R is changed in some way, it won't be updated, meaning that the dateRange variable won't update and display the most recent dates as time goes by. I want this variable to update as it changes, meaning that as soon as "Sys.Date()-1" changes from say, "2013-04-02" to "2013-04-03", I want the UI to change with it. Can anybody help out with this? Thank you
Ben