i'm R users
I have tried to run the R code in Jupyter notebook from Google Colab. But the plotly package doesn't work despite of the well processing in Rmarkdown in Rstudio.
Here is my problem. If I run like as
X =c(1:3) Y=c(2:6) plot(X,Y)
It works and shows the plot in below
But, When I run the code with ggplot2 or plotly package like
gg<- ggplot(aes(x=X,y=Y))+geom_point()
ggplotly(gg)
It doesn't work. Please to tell me what is wrong.