Description Usage Arguments Details Value Examples
(Deprecated) Extract code from an Rpubs <https://rpubs.com/> article. These functions still work but will be removed (defunct) in the next version.
extractCode
: This function is deprecated, and will
be removed in the next version of this package. Use rpubs_code()
instead.
1 | extractCode(url, files = NULL, output = FALSE)
|
url |
Character. URL of RPubs article, e.g. url = "http://rpubs.com/aephidayatuloh/sendgmail". |
files |
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 | extractCode(url = "http://rpubs.com/aephidayatuloh/sendgmail", file = NULL, output = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.