# NOT RUN {
if (interactive() && require(dash)) {
library(dash)
library(dashHtmlComponents)
app <- Dash$new()
app$layout(
htmlDiv(list(
"This is some text",
htmlBr(),
htmlSpan(
children = "And some text within an italicized span",
style = list(fontStyle = "italic")
)
)
)
)
app$run_server()
}
# }
Run the code above in your browser using DataLab