Converting the formal arguments to a function and converts into an XML format
This function reads the formal arguments to a given function and converts the content into an XML format
args2XML(fun, xml.name = "", full.names = NULL, priority = NULL)
fun |
|
xml.name |
|
full.names |
|
priority |
|
Priority values are currently used to determine whether the argument will appear on a widget that has entry boxes for modifying the values of the arguments. Users of args2XML may not have any concern of the priority values
No value will be returned.
Jianhua Zhang
fullNames <- c("Full path names", "Pattern to match", "Visiable file names", "Include path") args2XML(list.files, "temp.xml", fullNames, c(1, 2, 2, 2)) readLines("temp.xml") unlink("temp.xml")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.