fidi9: checks files and directories

Description Usage Arguments Details Value Future See Also Examples

View source: R/rbsa0.code.r

Description

checks if chemin is a file or a directory

Usage

1
2
 
  fidi9(chemins,retour=c("-","f","d")) 

Arguments

chemins

character; for each element of it, the existence as file or directory must be checked.

retour

character(3) indicating what to return in case of (non existence), (existence of a file) and (existence of a directory).

Details

the distinction between files and directories is based on file.info function.

Value

a character of same length as chemins with one of the components of retour.

Future

introduce the notion of accessibility

See Also

dipa

Examples

1
2
 
  fidi9(c("/","~","~/.bashrc",getwd(),"toto.txt")); 

rbsa documentation built on May 2, 2019, 6:07 p.m.