mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-07 05:04:58 -05:00
18 lines
384 B
R
18 lines
384 B
R
library(shiny)
|
|
|
|
shinyUI(
|
|
application(
|
|
|
|
headerPanel("Example 2: Computing Hashes"),
|
|
|
|
sidebarPanel(
|
|
textInput("input1", label="Input:", value="Hello, world!"),
|
|
checkboxInput("addnewline", label = "Append newline", value=TRUE)
|
|
),
|
|
|
|
mainPanel(
|
|
textOutput("md5_hash", label = "MD5:"),
|
|
textOutput("sha1_hash", label = "SHA-1:")
|
|
)
|
|
)
|
|
) |