View source: R/document-methods.R
primary_selection | R Documentation |
By default, functions returning a document context will return a list of
selections, including both the 'primary' selection and also 'other'
selections (e.g. to handle the case where a user might have multiple cursors
active). Use primary_selection()
to extract the primary selection.
primary_selection(x, ...)
x |
A document context, or a selection. |
... |
Optional arguments (currently ignored). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.