ggplotly in R studio fail to show results in viewer

141 Views Asked by At

I am trying to use the ggplotly to convert ggplot object and it returns nothing, just a blank viewer... Can anyone tell me why? Thanks in advance.

ggp = ggplot(data = mtcars, aes(cyl)) + geom_density(kernel = "gaussian")
ggplotly(ggp)
0

There are 0 best solutions below