mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-07 03:00:20 -04:00
17 lines
258 B
Plaintext
17 lines
258 B
Plaintext
```{r}
|
|
library(shiny)
|
|
tags$strong("foo")
|
|
selectInput("foo", "foo", LETTERS)
|
|
```
|
|
|
|
Here's an app
|
|
|
|
```{r}
|
|
shinyApp(
|
|
ui = fluidPage("Hello", plotOutput("plot")),
|
|
server = function(input, output, session) {
|
|
output$plot <- renderPlot(plot(cars))
|
|
}
|
|
)
|
|
```
|