Description Usage Arguments Value See Also Examples
eval_string
evaluates strings of R code in the
current environment.
1 | eval_string(string)
|
string |
A character vector containing legitimate R code |
Returns invisible(NULL)
. As a side effect
evaluates strings of R code in the environment that
called eval_string
.
1 2 3 | eval("x <- 1") # x not assigned 1
eval(parse(text="y <- 2")) # y = 2
eval_string("z <- 3") # z = 3
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.