EDIT: Thanks for your help guys. The issue has now been resolved. The "local" attribute had to be turned on for data to pass between the different environment:
source("compute.R", echo = TRUE,local=T)
I know similar questions have been asked before, but none of the advise is working for me. I need to create a data frame from user inputs which will be further used by functions following the creation of the data frame. The code is below:
        shinyServer(function(input,output,session){
              output$table<-renderTable({ 
                input$goButton
                condoname<-reactive({input$Condo_Name})
                floorno<-reactive({input$Floor_no})
                inputdate<-reactive({input$Date})
                datefilter<-as.Date(inputdate(),"%Y-%m-%d")
   user_data<-data.frame(condoname=condoname(),floorno=floorno(),datefilter=datefilter)
                user_data
    })
    })
The data frame is never formed and I get a 'object user_table not found' in an error message. Its quite frustating because I'm sure I'm missing something very simple. Any help will e appreciated. Thanks!!!
Edited to add:
UI:
#install.packages("shiny")
library(shiny)
shinyUI(fluidPage(
    fixedRow(
     column(3,selectInput("Condo_Name",
                          label=("Select Condo Name"),
                          choices=as.list(c("Condo1","Condo2")),
                          selected=1)),
     column(3,selectInput("Floor_no",
                          label=("Floor"),
                          choices=as.list(c("1","2")),
                          selected=1)),
     column(3,offset=3,row=-1,dateInput("Date",
                          label=("Date"),
                          value="2006-01-03",
                          max="2015-10-01"
                          )), 
     column(4,offset=3,             
            submitButton("Submit")),
    mainPanel(
             "Table", tableOutput("table"),style = "font-weight: 500; line-height: 1.1; 
        color: #4d3a7d;")
      )
    )
  ))
