US: Insert Underscores in Path

Description Usage Arguments Value Warning Examples

View source: R/US.R

Description

A convenience wrapper to replace black spaces with underscores.

Usage

1
  US(text = "clipboard", copy2clip = TRUE)

Arguments

text

character vector or text copied to the clipboard. Default is to read from the clipboard.

copy2clip

logical. If TRUE attempts to copy the output to the clipboard.

Value

Returns a character vector every space replaced with an underscore.

Warning

Ligatures are assumed to be "fi", however, these elements may be "ff", "fi", "fl", "ffi" or "ffl".

Examples

1
US("bad path with spaces")

reports documentation built on May 2, 2019, 8:29 a.m.