mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-07 03:00:20 -04:00
20 lines
404 B
R
20 lines
404 B
R
library(shiny)
|
|
|
|
shinyUI(
|
|
applicationPage(
|
|
|
|
headerPanel(
|
|
h1("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:")
|
|
)
|
|
)
|
|
) |