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
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.
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
3 matches
Mail list logo