Either captures the current rgl view and displays, or saves the current view to disk.
render_snapshot(filename, clear = FALSE)
Filename of snapshot. If missing, will display to current device.
Default `FALSE`. If `TRUE`, the current `rgl` device will be cleared.
Displays snapshot of current rgl plot (or saves to disk).
# NOT RUN { montereybay %>% sphere_shade() %>% plot_3d(montereybay,zscale=50,zoom=0.6,theta=-90) # } # NOT RUN { # } # NOT RUN { render_snapshot(clear = TRUE) # }
Run the code above in your browser using DataLab