Learn R Programming

switchr (version 0.14.8)

normalizePath2: normalizePath2

Description

Attempt to normalize a relative path to an absolute one. Optionally without resolving symlinks on non-Windows systems

Usage

normalizePath2(path, follow.symlinks = FALSE, winslash = "\\", mustWork = NA)

Value

The normalized path.

Arguments

path

The path to normalize

follow.symlinks

Should symlinks (other than . and ..) be resolved to their physical locations? (FALSE)

winslash

The value of winslash to be passed down to normalizePath on windows systems

mustWork

logical. Passed to normalizePath on windows. Ignored otherwise.