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


#1

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"

#2

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

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