[R] Check if directory exists

About this list Date view Thread view Subject view Author view Other groups

Subject: [R] Check if directory exists
From: Aleksey Naumov (naumov@acsu.buffalo.edu)
Date: Sat 20 May 2000 - 05:54:07 EST


Message-ID: <39259BDE.767570BB@acsu.buffalo.edu>

Dear R users,

is there a function to check if a directory exists? file.exists() works
for both files and dirs, but there's no way to tell, AFAIK. Something
like
file.exists(dir=T), or is.dir() would be nice...

Thanks

Aleksey

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Mon 17 Jul 2000 - 12:33:19 EST