This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#' .data object from dplyr | |
#' | |
#' @name .data | |
#' @rdname dplyr_.data | |
#' @keywords internal | |
#' @importFrom dplyr .data | |
NULL | |
#' := object from rlang | |
#' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
ui <- fluidPage( | |
tags$div(sliderInput("slide1", "Slider1", min = 0, max=10, value=4), style="display:inline-block"), | |
tags$div(sliderInput("slide1=2", "Slider2", min = 0, max=10, value=4), style="display:inline-block"), | |
tags$div(sliderInput("slide3", "Slider3", min = 0, max=10, value=4), style="display:inline-block") | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
innerInputUI <- function(id){ | |
ns <- NS(id) | |
tagList(textInput(ns('ttt'), "First text")) | |
} | |
innerInputServer <- function(input, output, session){ | |
ns <- session$ns |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
max_plots <- 5 | |
shinyServer(function(input, output) { | |
# Insert the right number of plot output objects into the web page | |
output$plots <- renderUI({ | |
plot_output_list <- lapply(1:input$n, function(i) { | |
plotname <- paste("plot", i, sep="") | |
plotOutput(plotname, height = 280, width = 250) | |
}) |