Use the shiny::showModal()
function to show the R
code inside.
Usage
show_rcode_modal(title = NULL, rcode, session = getDefaultReactiveDomain())
Arguments
- title
(
character(1)
) Title of the modal, displayed in the first comment of theR
code.- rcode
(
character
) vector withR
code to show inside the modal.- session
(
ShinySession
) optionalshiny
session object, defaults toshiny::getDefaultReactiveDomain()
.