search for: plotoutput

Displaying 8 results from an estimated 8 matches for "plotoutput".

Did you mean: logoutput
2016 Jun 22
3
Shiny
Estoy trabajando generando mapas a partir de un conjunto de datos. No puedo encontrar la forma de manipular el tamaño de los mapas. He buscado en páginas de Shiny y no pude encontrar una solución ¿Alguien me puede orientar? No he puesto una imagen para no recargar el servidor de correo. Saludos y gracias -- Eduardo [[alternative HTML version deleted]]
2017 Sep 21
3
Add wrapper to Shiny in R package
...m.file("application", package = "my_package"), ...) } *Under inst/application directory a file named app.R with the following content:* shinyApp( ui = fluidPage( sidebarLayout( sidebarPanel(sliderInput("n", "Bins", 5, 100, 20)), mainPanel(plotOutput("hist")) ) ), server = function(input, output) { output$hist <- renderPlot( hist(xs, breaks = input$n, col = "skyblue", border = "white") ) } ) Thank you, Axel. [[alternative HTML version deleted]]
2017 Sep 21
1
Add wrapper to Shiny in R package
...) myApp <- function(x, ...) { xs <- scale(x) my.env <- new.env() assign("xs", xs, envir = my.env) shiny::runApp(app) } app = shinyApp( ui = fluidPage( sidebarLayout( sidebarPanel(sliderInput("n", "Bins", 5, 100, 20)), mainPanel(plotOutput("hist")) ) ), server = function(input, output) { get("xs", envir = my.env) output$hist <- renderPlot( hist(xs, breaks = input$n, col = "skyblue", border = "white") ) } ) myApp(rnorm(100)) Axel. On Thu, Sep 21, 2...
2017 Sep 17
2
Shiny App inside R Package
...a package. I'd appreciate your guidance here, as I could not find good instructions on this online. myApp <- function(x) { require(shiny) shinyApp( ui = fluidPage( sidebarLayout( sidebarPanel(sliderInput("n", "Bins", 5, 100, 20)), mainPanel(plotOutput("hist")) ) ), server = function(input, output) { output$hist <- renderPlot( hist(x, breaks = input$n, col = "skyblue", border = "white") ) } ) } myApp(rnorm(100)) Regards, Axel. [[alternative HTML version dele...
2017 Sep 21
0
Add wrapper to Shiny in R package
...ackage"), ...) > > } > > *Under inst/application directory a file named app.R with the following > content:* > > shinyApp( > ui = fluidPage( > sidebarLayout( > sidebarPanel(sliderInput("n", "Bins", 5, 100, 20)), > mainPanel(plotOutput("hist")) > ) > ), > server = function(input, output) { > output$hist <- renderPlot( > hist(xs, breaks = input$n, > col = "skyblue", border = "white") > ) > } > ) > > Thank you, > Axel. > >...
2018 Mar 04
2
problema con shiny
...barLayout( sidebarPanel( sliderInput("bins", "Number of bins:", min = 1, max = 50, value = 30) ), # Show a plot of the generated distribution mainPanel( plotOutput("distPlot") ) ) ) # Define server logic required to draw a histogram server <- function(input, output) { output$distPlot <- renderPlot({ # generate bins based on input$bins from ui.R x <- faithful[, 2] bins <- seq(min(x), max(x), length.out =...
2018 Mar 05
2
problema con shiny
...barLayout( sidebarPanel( sliderInput("bins", "Number of bins:", min = 1, max = 50, value = 30) ), # Show a plot of the generated distribution mainPanel( plotOutput("distPlot") ) ) ) # Define server logic required to draw a histogram server <- function(input, output) { output$distPlot <- renderPlot({ # generate bins based on input$bins from ui.R x <- faithful[, 2] bins <- seq(min(x), max(x), length.out =...
2018 Mar 04
4
problema con shiny
Estimados compañeros tengo un problema con shiny. Es un problema local de mi ordenador, porque en otro va si problemas pero no consigo saber ¿cómo arreglarlo?. He instalado incluso la nueva versión de Rstudio. Os explico: 1) lanzo el programa app.R, el ejemplo de shiny e intenta mostrar los resultados pero si hago: print(environment(show)) da como resultado Error in func(fname, ...) : app.R did