search for: xmloutput

Displaying 1 result from an estimated 1 matches for "xmloutput".

Did you mean: xml_output
2012 Feb 17
1
Creating XML using apply
Hi My data looks like this data is a vector data= var1 var2 var3 100 120 130 i want to put it in an XML xmlOutput=NULL xmlOutput<- newXMLNode("results") for( i in 1 : length(data)) { newXMLNode("variable",attrs=c(name =names(data)[i] ), value = data[i]), parent = xmlOutput) } is it possible to use apply here If there more variables it takes long time to create XML ----- Than...