[R] reading multiple XML files into an R table

2010-10-27 Thread Jørgen Blystad Houge
Good morning fellow R users! I need to read multiple .XML files now gathered in one folder and collect them in a table in R. The files have only numeric names and are named nearly continuously (e.g 1.xml, 2.xml, 3.xml . up to about 4.xml) but with a few missing numbers/files. So the code

Re: [R] reading multiple XML files into an R table

2010-10-27 Thread Ista Zahn
Hi Jørgen, You will be better served by learning how to find the answers to these kinds of questions on your own. You can either use a general search engine such as google: http://lmgtfy.com/?q=read+multiple+files+in+R http://lmgtfy.com/?q=read+xml+data+in+R or using an R specific search engine.

Re: [R] reading multiple XML files into an R table

2010-10-27 Thread Kjetil Halvorsen
for the loop part: put all your xml files in a directory with no other files, do setwd(directory/with/xml/files) files - list.files() for (file in files) processs the files kjetil 2010/10/27 Ista Zahn iz...@psych.rochester.edu: Hi Jørgen, You will be better served by learning how to find the