realpath: Express file paths in canonical form

View source: R/realpath.R

realpathR Documentation

Express file paths in canonical form

Description

Express file paths in canonical form

Usage

realpath(path)

Arguments

path

character. File paths, which must exist on disk.

Note

Updated 2022-05-31.

Use normalizePath() instead for non-existing file paths.

See Also

Standard path modifiers:

  • normalizePath().

  • file.path().

Checking for existence, access:

  • file.access().

  • file.exists().

  • goalie::hasAccess().

  • goalie::allHaveAccess().

Examples

realpath(".")

acidgenomics/AcidBase documentation built on Nov. 29, 2022, 7:39 a.m.