Sys.readlink2: Read File Symbolic Links (also on Windows)

View source: R/Sys.readlink2.R

Sys.readlink2R Documentation

Read File Symbolic Links (also on Windows)

Description

Read File Symbolic Links (also on Windows) and returns the target of each link. This implementation is fully compatible with the Sys.readlink() implementation in the base package.

Usage

Sys.readlink2(paths, what=c("asis", "corrected"))

Arguments

paths

A character vector of file paths. Tilde expansion is done: see path.expand().

what

A character string specifying what to return.

Value

A character vector of the the same length as paths.

Author(s)

Henrik Bengtsson


R.utils documentation built on Nov. 18, 2023, 1:09 a.m.