[R] Opening all files in a directory

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Jun 12 18:44:24 CEST 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...
> 
> 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?


list.files() will help ...

Uwe
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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