title: How to use plot3D::persp3D() to see plot in rgl device as with rgl::persp3d()?
body: <p>I would like to plot my 3D function in a rgl device window using <code>plot3D</code> package. It allows me to rotate on x, y, z axis and scale. This is basic example with <code>rgl</code> package:</p>
  
  <pre><code>x &lt;- seq(-10, 10, length = 30)
  y &lt;- x
  z &lt;- outer(x, y, function(x, y) { r &lt;- sqrt(x^2 + y^2); 10 * sin(r)/r })
  z[is.na(z)] &lt;- 1
  rgl::persp3d(x, y, z)
  </code></pre>
  
  <p>Unfortunately this one is not open in rgl device:</p>
  
  <pre><code>plot3D::persp3D(x, y, z)
  </code></pre>
  
  <p>I am pretty sure that I have see it somewhere (maybe even in my experiments with that package). Can someone help me please? </p>