# NOT RUN {
if (interactive() && require(dash)) {
library(dash)
library(dashHtmlComponents)
app <- Dash$new()
app$layout(htmlDiv(list(
htmlFigure(children = list(
htmlImg(src = 'https://brand.plotly.com/static/images/plotly-logo-01-stripe@2x.png'),
htmlFigcaption(children = 'Plotly Logo')))
)
)
)
app$run_server()
}
# }
Run the code above in your browser using DataLab