-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.R
48 lines (32 loc) · 1.03 KB
/
app.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
library(shiny)
# Define UI for application that draws a histogram
ui <- fluidPage(
## Main header
tags$h1("My First Shiny App"),
tags$p(" I love data science."),
## Un-ordered list
tags$ul(
tags$li("Tidyverse"),
tags$li("Rvest"),
tags$li("Shiny")
),
## Tags can be nested.
tags$p(
"The link to the Shiny website is",
tags$a(href = "https://www.rstudio.com/shiny/", "rstudio.com/shiny."),
tags$strong("I strongly recommend that you take a look at it!")
),
## Some line break.
tags$br(),
## Include video.
tags$iframe(src="https://www.youtube.com/embed/xJALSnbBHhk", width="1000", height="500",
frameborder="0",
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"),
tags$br(),
tags$span(style="color:purple", "Have a good winter break!..")
)
# Define server logic required to draw a histogram
server <- function(input, output) {
}
# Run the application
shinyApp(ui = ui, server = server)