outputFilePath: Output character file path as R's platform-agnostic file.path

Description Usage Arguments Examples

View source: R/outputFilePath.R

Description

Output character file path as R's platform-agnostic file.path

Usage

1
outputFilePath(path, platform = NULL)

Arguments

path

file path as character.

platform

name of the platform. Specify if you have a path separated by different file separators which doesn't belong to the current platform where R runs. Select one of unix or win alternatives. If the argument is NULL, which is the default value, a separator, which is specific to the current platform, will automatically be selected (from .Platform$file.sep).

Examples

1
2
path_nix <- "/var/log/wifi.log"
outputFilePath(path_nix)

strboul/mmy documentation built on Sept. 24, 2021, 12:08 p.m.