While plotting 3d surface plots with my data i am getting the below error

while plotting 3d surface plots with my data i am getting the below error

Error in plotly(z = volcano, type = "surface") : 
  could not find function "plotly"

Have you installed the plotly package and loaded it before running your function?

install.packages("plotly")
library(plotly)
1 Like