[R] Check if directory exists

Aleksey Naumov naumov at acsu.buffalo.edu
Fri May 19 21:54:07 CEST 2000


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



More information about the R-help mailing list