Skip to Content

file.path {base}

Construct Path to File
Package: 
base
Version: 
R 3.0.2

Description

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

Usage

file.path(..., fsep = .Platform$file.sep)

Arguments

...
character vectors.
fsep
the path separator to use.

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.

Values

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).

Note

The components are separated by / (not \) on Windows.

Documentation reproduced from R 3.0.2. License: GPL-2.

Comments

kinneybowles's picture

people will disabilities or even those who are not yet but has the signs or symptoms to acquired such disabilities should not hesitate to proceed to an orthopedic surgeon in fort myers