canRead.File: Checks if the file can be read

Description Usage Value Author(s) See Also

Description

Checks if the file can be read.

Usage

1
2
## S3 method for class 'File'
canRead(this, ...)

Value

Returns TRUE if the file can be read. If not, or if the specified path is a directory, FALSE is returned.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

*canWrite(). Internally file.access() is used. For more information see File.


HenrikBengtsson/R.io documentation built on May 6, 2019, 11:54 p.m.