Displaying 1 result from an estimated 1 matches for "reactivefilereader".
2017 Sep 16
1
Help with shiny::reactiveFileReader()
Hello,
Is it possible to execute functions (outside the ui and server shiny
environments) after reading data using reactiveFileReader() ?
For example, I'd like to fit a linear model on data read using
reactiveFileReader() outside ui/server.
library(shiny)
library(dplyr)
bigData <- reactiveFileReader(1000, NULL, 'data.csv', read.csv)
fit <- lm(y ~., data = bigData())
ui <- function() {
}
server <- f...