getAbsolutePath

0th

Percentile

Gets the absolute pathname string

Gets the absolute pathname string.

Keywords
programming, IO
Usage
## S3 method for class 'default':
getAbsolutePath(pathname, workDirectory=getwd(), expandTilde=FALSE, ...)
Arguments
pathname
A character string of the pathname to be converted into an absolute pathname.
workDirectory
A character string of the current working directory.
expandTilde
If TRUE, tilde (~) is expanded to the corresponding directory, otherwise not.
...
Not used.
Details

This method will replace replicated slashes ('/') with a single one, except for the double forward slashes prefixing a Microsoft Windows UNC (Universal Naming Convention) pathname.

Value

  • Returns a character string of the absolute pathname.

See Also

isAbsolutePath().

Aliases
  • getAbsolutePath.default
  • getAbsolutePath
Documentation reproduced from package R.utils, version 1.6.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.