Displaying 1 result from an estimated 1 matches for "xxxx_xxx".
2012 May 25
4
Reading a bunch of csv files into R
...from a data importing issue:
I have some hundreds of csv files needed to be read into R for futher
analysis. All those csv files are named in one of the three formats:
(1) strings: e.g. London_Oxford street
(2) Integer: e.g. 1234_5678
(3) combined: e.g. London_1234
I intend to use read.csv("xxxx_xxx.csv") but I only dealt with
sigle documents before and if there are only no more than 20 files, I do
not bother to search a more efficient way.
Is there any claver way that I do not have to type in all these hundreds
names by hand, maybe using a R package or write some code in some other
lan...