use htmlTemplate para ler um arquivo html com srcipts em js e links em css
Drop files here
or click to upload
library(shiny)
ui <- htmlTemplate("template.html",
message = "Hello from Shiny!",
controls = tagList(
textInput("name", "What's your name?"),
actionButton("greet", "Greet")
),
result = uiOutput("greeting")
)
server <- function(input, output, session) {
output$greeting <- renderUI({
req(input$greet)
HTML(paste0("<p class='greeting'>Hello, ", input$name, "!</p>"))
})
}
shinyApp(ui = ui, server = server)
Hi! I can help you with any questions about Shiny and R. What would you like to know?