[R] Opening all files in a directory

Jens Nieschulze jniesch at gwdg.de
Wed Jun 12 18:32:35 CEST 2002


On Wed, 12 Jun 2002, MATT BORKOWSKI wrote:

%Is there any way that R can be programmed so that it will cycle through 
%all files in a directory without having to define file names?  The reason I ask
%is because I will have about 50-100 files in a directory which will be randomly
%named.  ie:  MIDEX, OACES-CO2, ODEN91, etc...  

have you checked
list.files() ?

%
%If not...are there any languages out there that will do this sort of things?  Or is
%there another method you could recommend for handling the problem?
%
%Thanks,
%Matt
%
%
%-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
%r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
%Send "info", "help", or "[un]subscribe"
%(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
%_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
%

***********************************************************************
Jens Nieschulze

Institute for Forest Biometrics &	Phone: ++49-551-39-12107
Applied Computer Science		Fax  : ++49-551-39-3465
Buesgenweg 4
37077 Goettingen		E-mail: jniesch at uni-forst.gwdg.de
GERMANY				http://www.uni-forst.gwdg.de/~jniesch

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list