Parse | R Documentation |
Parse R code from a package, a file or a character vector.
ParsePackage(package, guess.encoding=FALSE, recursive=FALSE) ParseFile(filename, guess.encoding=FALSE) ParseText(text, name=NULL)
package |
Root directory of the source package. |
guess.encoding |
If TRUE try to guess file encoding. This might be useless and will drastically slow down the execution. |
recursive |
If TRUE also parse code found in subdirectories of package directory "R" |
filename |
Name of the file to parse. |
text |
Character vector to parse. |
name |
Name to give "srcfile" attribute of the parsed expression. |
Returns an expression object representing the package, the file or the character vector parsed.
Maëlick Claes <himself@maelick.net>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.