Old/xmlSourceVariable: Process the code elements involved in defining particular...

xmlSourceVariableR Documentation

Process the code elements involved in defining particular variables within a dynamic document.

Description

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

Usage

xmlSourceVariable(vars, doc, eval = TRUE, env = globalenv())

Arguments

vars
doc
eval
env

Value

A list

Author(s)

Duncan Temple Lang

See Also

xmlParse


duncantl/XDynDocs documentation built on Jan. 4, 2024, 5:20 p.m.