[Rd] XML parsing under R / Extracting nodes’ values

From: Abdelhakim z <abdelhakimz_at_gmail.com>
Date: Mon, 14 May 2007 19:40:18 +0100

I have an XML file which contains among other nodes :



===End file===
I need to extract those values and to make them R variables such as: nbRelations = 2
nbActors = 2

nbRuns = 5
nbSteps = 2000

I read the help and have seen the examples of the xml package, it seems that I need to use xmlTreeParse() function but I don't know how exactly as I'm not an R advanced programmer, please can anyone show me how to do that explicitly ?

Any help would be much appreciated


University of Boumerdès

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 15 May 2007 - 06:49:44 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 15 May 2007 - 13:33:47 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.