setRunspecAttr: setRunspecAttr

View source: R/r4moves.R

setRunspecAttrR Documentation

setRunspecAttr

Description

Sets an attibute in a runspec XML::xmlParse() object.

Usage

setRunspecAttr(runspec, xpathsLocation, list)

Arguments

runspec

XML::xmlParse() object

xpathsLocation

string in the format of an XPath (https://way2tutorial.com/xml/xpath-expression.php)

list

vector containing attributes and the values the attributes should be set to

Examples

setRunspecAttr(rs, "//outputdatabase", c(databasename =  new_outputdb_name))

hlinak/R-for-MOVES documentation built on Jan. 31, 2023, 2:03 p.m.