xmlSourceVariable | R Documentation |
This function is used to identify the code elements within a dynamic document that are necessary to define one or more variables specified by the user. This analyzes the code elements for dependencies to identify those of relevance. It omits code elements that are not needed to explicitly define the variable, so code elements with potential side-effects that would affect the state of the R session may be omitted.
The code elements can be returned for processing by the caller or are evaluated in order to define the relevant variable. The evaluation can be controlled by specifying a suitable environment
xmlSourceVariable(vars, doc, eval = TRUE, env = globalenv())
vars |
|
doc |
|
eval |
|
env |
A list
Duncan Temple Lang
xmlParse
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.