-
Notifications
You must be signed in to change notification settings - Fork 8
/
server.R
27 lines (16 loc) · 821 Bytes
/
server.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
function(input, output, session) {
disable_link("tabCalendar")
disable_link("tabVisualization")
disable_link("tabAnalysis")
disable_link("tabCut")
data_in <- callModule(dataUploadModule, "data")
calendar <- callModule(calendarModule, "calendar")
rendered_plots <- callModule(visualizationModule, "viz", data = data_in, calendar = calendar)
# Rmarkdown could not find pandoc and thus has to be set before calling the downloadhandler
# Please note that this could be a different path depending on your computer.
Sys.setenv(RSTUDIO_PANDOC="C:/Program Files/RStudio/bin/pandoc")
callModule(analysisModule, "analysis", data = data_in, plots = rendered_plots,
calendar = calendar)
callModule(batchModule, "batch")
callModule(cutDataModule, "cut", data = data_in)
}