Re: [R] How to loop on file names

2012-01-17 Thread R. Michael Weylandt
Inline: Michael On Jan 16, 2012, at 10:26 PM, Hélène Genet wrote: > Dear all, > > I need to do the same procedure on several files. But I don't know how to > refer to the file name. > Here is an example of what I am trying to do. > > List of files: file1(A,B,C, D1...Dn), file2(A,B,C,E1,...

Re: [R] How to loop on file names

2012-01-17 Thread Bretschneider SIG-R
Dear Hélène Genet, Re: > Dear all, > > I need to do the same procedure on several files. But I don't know how to > refer to the file name. > Here is an example of what I am trying to do. > > List of files: file1(A,B,C, D1...Dn), file2(A,B,C,E1,...,En), > file3(A,B,C,F1,...,Fn) > > Procedure

[R] How to loop on file names

2012-01-16 Thread Hélène Genet
Dear all, I need to do the same procedure on several files. But I don't know how to refer to the file name. Here is an example of what I am trying to do. List of files: file1(A,B,C, D1...Dn), file2(A,B,C,E1,...,En), file3(A,B,C,F1,...,Fn) Procedure I want to apply on each file: dft <- melt