use_vars | R Documentation |
This is a convenient way to initialize variables and assign them in the given environment.
use_vars(..., .env = parent.frame(), .quiet = FALSE)
... |
All the arguments will be quoted and parsed, if a argument is named, the name will be used as the name of variable to assign, otherwise the argument can only be a symbol. |
.env |
Environment to assign. |
.quiet |
Whether to supress the message. |
Invisibly returns a list of assigned variables.
use_vars(x, y, expr = "a + b", p = 3.14) p * x + y expand(expr^2L) rm(x, y, expr, p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.