Description Usage Arguments Details Value Examples
Extract code from an RPubs article.
1 | rpubs_code(url, path = NULL, output = FALSE)
|
url |
Character. URL of RPubs article, e.g. url = "https://rpubs.com/aephidayatuloh/sendgmail". |
path |
Character. File name for the extracted code as R script, e.g. |
output |
Logical. Should extraction include output of the code? Default to |
If files = NULL
then the extracted script will be print on console or as vector if you assign to an object. One code block is one element of vector.
vector
1 | rpubs_code(url = "https://rpubs.com/aephidayatuloh/sendgmail", path = NULL, output = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.