Arguments$getReadablePathname

0th

Percentile

Gets a readable pathname

Gets a readable pathname.

Keywords
methods, internal, IO
Usage
## Static method (use this):
## Arguments$getReadablePathname(file=NULL, path=NULL, mustExist=TRUE,
##   absolutePath=FALSE, ...)

## Don't use the below: ## S3 method for class 'Arguments': getReadablePathname(static, file=NULL, path=NULL, mustExist=TRUE, absolutePath=FALSE, ...)

Arguments
file
A character string specifying the file.
path
A character string specifying the path.
mustExist
If TRUE, the pathname must exists and be readable, otherwise an exception is thrown. If FALSE, no such test is performed.
absolutePath
If TRUE, the absolute pathname is returned.
...
Not used.
Value

  • Returns a character string of the absolute pathname of the file.

Missing values

If file or path is NA and mustExist is FALSE, then (character) NA is returned, otherwise an exception is thrown.

See Also

*getWritablePathname() filePath. For more information see Arguments.

Aliases
  • Arguments$getReadablePathname
  • getReadablePathname.Arguments
  • Arguments.getReadablePathname
  • getReadablePathname,Arguments-method
Documentation reproduced from package R.utils, version 1.28.4, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.