Displaying 1 result from an estimated 1 matches for "raw_p".
Did you mean:
raw_
2012 Dec 20
2
how to read different files into different objects in one time?
...ar All
I have a lot of files in a directory as follows:
"02-03.txt" "03-04.txt" "04-05.txt" "05-06.txt" "06-07.txt"
"07-08.txt" "08-09.txt"
"09-10.txt" "G0.txt" "G1.txt" "raw_ped.txt"
..........................
I want to read them into different objects according to their filenames,such as:
02-03<-read.table("02-03.txt",header=T)
03-04<-read.table("03-04.txt",header=T)
I don't want to type hundreds of read.table(),so how I read it in on...