Shiny r studio6/14/2023 ShinyServer(function(input, output,session) i just want the source command to be executed at the beginning in order to load the data as the shiny app is starting: source("procesadoDatos.R",local = TRUE) I think it should be something like this, being procesadoDatos.R the RScript. I have already checked these links but it didn't help at all: How can I connect R Script with Shiny app in R? and this one using Source() in Shiny. What I would like to do is to call this Rscript from the shiny app in order to be executed when the shiny app is launched. I got a Rscript apart from the shiny app to do all those "transformations" of the raw data. This shiny app gets the data from a raw csv which is previously treated and transformed. These charts are generated at execution time according to the value of some buttons. I developed a shiny app which displays some dynamic charts.
0 Comments
Leave a Reply. |