Re: [R] Creating XML using apply

2012-02-17 Thread Jeff Newmiller
Undoubtedly. However, it probably won't affect the time it takes to finish by very much. --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live Go...

[R] Creating XML using apply

2012-02-16 Thread arunkumar1111
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 =