R
code modalUse the shiny::showModal()
function to show the R
code inside.
show_rcode_modal(title = NULL, rcode, session = getDefaultReactiveDomain())
(character(1)
)
Title of the modal, displayed in the first comment of the R
code.
(character
)
vector with R
code to show inside the modal.
(ShinySession
optional)
shiny
session object, if missing then shiny::getDefaultReactiveDomain()
is used.