This function evaluates an expression, returning it in a two element list containing its value and a flag showing whether it would automatically print.
an expression to be evaluated.
The argument, not an
expression object, rather
an (unevaluated function)
call, is evaluated in the
This is a primitive function.
The value of
logical; whether the value would auto-print.
withVisible() in order to correctly
x <- 1 withVisible(x <- 1) # *$visible is FALSE x withVisible(x) # *$visible is TRUE # Wrap the call in evalq() for special handling df <- data.frame(a = 1:5, b = 1:5) evalq(withVisible(a + b), envir = df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.