Re: [R] Create a Data Frame from an XML

2013-01-24 Thread Adam Gabbert
Hi Ben, Thanks for info. That is definitely a viable solution for the example I provided. It is more common that I have larger files with more edits to make. The main reason I went with a data frame methodology is becuase of the file types I have. Essentially, I have an XML 50+ "rows" by 10 "co

Re: [R] Create a Data Frame from an XML

2013-01-24 Thread Franzini, Gabriele [Nervianoms]
--Original Message- From: Adam Gabbert [mailto:adamjgabb...@gmail.com] Sent: Wednesday, January 23, 2013 5:36 PM To: Duncan Temple Lang; btup...@bigelow.org Cc: r-help@r-project.org Subject: Re: [R] Create a Data Frame from an XML Hello Gentlemen, I mistakenly sent the message twice, because the

Re: [R] Create a Data Frame from an XML

2013-01-23 Thread Ben Tupper
Hi Adam, On Jan 23, 2013, at 11:36 AM, Adam Gabbert wrote: > Hello Gentlemen, > > I mistakenly sent the message twice, because the first time I didn't receive > a notification message so I was unsure if it went through properly. > > Your solutions worked great. Thank you! I felt like I was

Re: [R] Create a Data Frame from an XML

2013-01-23 Thread Adam Gabbert
Hello Gentlemen, I mistakenly sent the message twice, because the first time I didn't receive a notification message so I was unsure if it went through properly. Your solutions worked great. Thank you! I felt like I was fairly close just couldn't quite get the final step. Now, I'm trying to rev

Re: [R] Create a Data Frame from an XML

2013-01-22 Thread Duncan Temple Lang
Hi Adam [You seem to have sent the same message twice to the mailing list.] There are various strategies/approaches to creating the data frame from the XML. Perhaps the approach that most closely follows your approach is xmlRoot(doc)[ "row" ] which returns a list of XML nodes whose node n