-
Notifications
You must be signed in to change notification settings - Fork 636
Closed
Description
Hi! I keep getting this error
could not find function "ggplotly"
I have tried to reinstall all packages (plotly, ggplot2 and scales) from their respective github repos, but keep getting the error. I only get the error in markdown and not when I run it in Rstudio.
Any ideas why shiny won't let it run?
`---
title: "Untitled"
output:
flexdashboard::flex_dashboard:
orientation: columns
vertical_layout: fill
runtime: shiny
library(flexdashboard)Column {data-width=650}
Chart A
plotly::renderPlotly({
g <- ggplot2::ggplot(faithful, ggplot2::aes(x = eruptions, y = waiting)) +
ggplot2::stat_density_2d(ggplot2::aes(fill = ..level..), geom = "polygon") +
ggplot2::xlim(1, 6) + ggplot2::ylim(40, 100)
plotly::ggplotly(g)
})
Column {data-width=350}
Chart B
Chart C
`
Metadata
Metadata
Assignees
Labels
No labels