Re: [R] reading in multiple data sets in 2 loops

2016-02-07 Thread Reka Howard
) > ) > ) >%>% as.data.frame >) > > > > On Sat, 6 Feb 2016, Jim Lemon wrote: > > Hi Reka, >> Try this: >> >> header<-"C:/Research3/simulation1/seco

[R] reading in multiple data sets in 2 loops

2016-02-05 Thread Reka Howard
Hello, I have over 1000 csv data sets I need to read into R, so I want to read them in using a loop. The data sets are named as pheno_1000ind_4000m_add_h70_prog_1_2.csv, pheno_1000ind_4000m_add_h70_prog_1_3.csv, ... so I need 2 loops (for the last 2 numbers in the names). What I would like to do