[R] Help with shiny::reactiveFileReader()
Lars Bishop
lars52r at gmail.com
Sat Sep 16 15:04:49 CEST 2017
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 <- function(input, output) {
}
Thank you,
Lars.
[[alternative HTML version deleted]]
More information about the R-help
mailing list