mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-07 03:00:20 -04:00
18 lines
389 B
R
18 lines
389 B
R
library(shiny)
|
|
|
|
clientPage(
|
|
applicationUI(
|
|
|
|
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:")
|
|
)
|
|
)
|
|
) |