output$downloadDocument <- downloadHandler(
filename <- "disCOVIDer19_documentation.pdf",
content <- function(file) {
file.copy(paste0("www/",filename), file)
},
)
tags$iframe(style="height:600px; width:100%", src="")
output$pdfview <- renderText({
return(paste('<iframe style="height:600px; width:100%" src="',filename,'"></iframe>', sep = ""))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.