Execute the R file provided as input and return a string
containing all of its output. If the code prints output, say with
cat
, e.g., as in "cat(5);cat(6)"
, then that output is
returned as single collapsed string. If the code just returns a value,
e.g., "5"
, then this value will be converted to a collapsed string
and returned.
This is similar to what r.exec
is doing, but it obtains its input
from a file.
1 |
path |
the path |
basePath |
the base path |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.