View source: R/record-output.R
| record_output | R Documentation | 
This function uses record() internally, but instead of creating
an ascii cast, it just returns the output of the code in a character
vector.
record_output(
  script,
  echo = FALSE,
  prompt = echo,
  stdout = TRUE,
  stderr = TRUE,
  ...
)
script | 
 The code to record, passed to   | 
echo | 
 Whether to include the input in the return value.  | 
prompt | 
 Whether to include the R prompt in the return value.  | 
stdout | 
 Whether to include the standard output in the return value.  | 
stderr | 
 Whether to include the standard error in the return value.  | 
... | 
 Addiitonal arguments are passed to   | 
Character vector of output (plus input if echo, plus
prompt if prompt), as it would appear on a terminal.
See record() for additional options.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.