path.expand

0th

Percentile

Expand File Paths

Expand a path name, for example by replacing a leading tilde by the user's home directory (if defined on that platform).

Keywords
file
Usage
path.expand(path)
Arguments
path
character vector containing one or more path names.
See Also

basename, normalizePath.

Aliases
  • path.expand
  • tilde expansion
Examples
library(base) path.expand("~/foo")
Documentation reproduced from package base, version 3.3, License: Part of R @VERSION@

Community examples

Looks like there are no examples yet.