Hi everyone,
I am learning plotly and dash. Unfortunately i don’t seem to get any app in the tutorial running. For instance this one:
library(plotly)
fig ← plot_ly()
fig ← fig %>% add_trace( … )
fig ← fig %>% layout( … )
library(dash)
library(dashCoreComponents)
library(dashHtmlComponents)
app ← Dash$new()
app$layout(
htmlDiv(
list(
dccGraph(figure=fig)
)
)
)
app$run_server(debug=TRUE, dev_tools_hot_reload=FALSE)
I keed geting the following error message on the last line:
No ids were found in the layout. Component ids are critical for targeting callbacks in your applicationFire started at 127.0.0.1:8050
Is it a problem with the installation or what am i doing wrong?
Thank you in advance…