How can I print the current page in R shiny web applications? It is possible in HTML by using the command of window.print();. But I could not find and implement its correspondent R Shiny command. What is on my mind is something like the following? How can I call an html command in SERVER?
actionButton("print", "PRINT")
server <- function(input, output) {
observeEvent(input$print, {
window.print();
})
}
See Question&Answers more detail:os