# NOT RUN {
if (interactive() && require(dash)) {
library(dash)
library(dashHtmlComponents)
app <- Dash$new()
app$layout(
htmlDiv(list(
htmlPre(
"
Text in a <pre> element is displayed
in a fixed-width font (usually Courier),
and it preserves both spaces and line breaks.
"
)
))
)
app$run_server()
}
# }
Run the code above in your browser using DataLab