text_to_path: Make a Properly Formatted File Path

View source: R/generic_textutils.R

text_to_pathR Documentation

Make a Properly Formatted File Path

Description

Concatenate character elements into a unix-like path specification.

Usage

text_to_path(...)

Arguments

...

One or more character scalars to be concatenated with / between elements.

Value

A character variable containing the concatenated strings, properly delimited with slashes.

Examples


a = "dir1"
b = "dir2"
c = "dir3"
text_to_path(a, b, c)
## "dir1/dir2/dir3/"


rogerswt/wadeTools documentation built on Feb. 16, 2023, 7:47 a.m.