unixPath: Convert Windows to Unix paths

Description Usage Arguments Value

View source: R/unixPath.r

Description

Get unix paths equivalents of Windows paths, for example for linux subsystem or cygwin. Function likely only applicable under Windows.

Usage

1
unixPath(path, reverse = FALSE, mountpoint = "/mnt")

Arguments

path

Path to be transformed.

reverse

Convert from windows to unix (FALSE) or from unix to windows (TRUE). When converting from unix, a full path must be provided. Converting to unix can be performed with relative paths.

mountpoint

Mountpoint of the windows drive, usually '/mnt' for linux subsystem and '/cygdrive' for cygwin.

Value

transformed path


kraaijenbrink/pkrf documentation built on Nov. 14, 2020, 12:29 p.m.