All objects in an rgl scene have a
numerical id. These ids are normally stored
in vectors of class
c("rglIds", "numeric"), which
will also have class
"rglLowlevel" depending on
whether a high level function like
persp3d, or a low level function created the objects.
1 2 3 4 5 6 7
A vector of object ids.
Whether to create and print an rgl widget. If false, nothing is printed.
Other arguments which will be passed to
These functions and classes are intended to allow
rgl scenes to be automatically
displayed in R Markdown documents. See
setupKnitr for details on enabling auto-printing.
Note that all objects in the current
scene will be printed by default, not just
the ids in
x. (One reason for this
is that lights are also objects; printing
objects without lights would rarely make
Objects of class
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.