extractCode-defunct: Extract Code From Rpubs Article

Description Usage Arguments Details Value Examples

Description

(Deprecated) Extract code from an Rpubs <https://rpubs.com/> article. These functions still work but will be removed (defunct) in the next version.

Usage

1
extractCode(url, path = NULL, output = FALSE, ...)

Arguments

url

Character. URL of RPubs article, e.g. url = "http://rpubs.com/aephidayatuloh/sendgmail".

path

Character. File name for the extracted code as R script, e.g. code.R.

output

Logical. Should extraction include output of the code? Default to FALSE, means only R script will be extracted.

...

Other parameter for defunct.

Details

If path = 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.

Value

vector

Examples

1
extractCode(url = "http://rpubs.com/aephidayatuloh/sendgmail", path = NULL, output = FALSE)

aephidayatuloh/rpubs documentation built on Oct. 24, 2020, 12:34 a.m.