The following code using plotly produces a 3d paraboloid in the viewing window of Rstudio, which can be rotated with the cursor.
PROBLEM: "Save as Web Page" in the Viewer returns a blank page.
Any hints or help would be greatly appreciated!!!
p<-seq(from=-10, to=10, length.out = 30)
q<-p
f <- function(p, q) { p^2 + q^2}
m <- outer(p, q, f)
plot_ly() %>% add_surface(x = ~p, y = ~q, z = ~m, opacity=5)