A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.rdocumentation.org/packages/base/versions/3.6.0/topics/file.path below:

file.path function - RDocumentation

file.path: Construct Path to File Description

Construct the path to a file from components in a platform-independent way.

Usage
file.path(…, fsep = .Platform$file.sep)
Arguments

fsep

the path separator to use.

Value

A character vector of the arguments concatenated term-by-term and separated by fsep if all arguments have positive length; otherwise, an empty character vector (unlike paste).

Details

The implementation is designed to be fast (faster than paste) as this function is used extensively in R itself.

It can also be used for environment paths such as PATH and R_LIBS with fsep = .Platform$path.sep.

Trailing path separators are invalid for Windows file paths apart from / and d:/ (although some functions/utilities do accept them), so a trailing / or \ is removed.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4