WP: Convert Windows Path

Description Usage Arguments Value Examples

Description

Reorients Windows path backslashes to forward slashes.

Usage

1
WP(from.clip = TRUE, quotes = TRUE, copy2clip = is.global(2))

Arguments

from.clip

logical. If TRUE path is read from the clipboard. If FALSE user inputs path inteactively.

quotes

logical. If TRUE quotes will be added to front/end of the string.

copy2clip

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

Value

Returns a character vector path with slashes oriented for R.

Examples

1
2
## WP(FALSE)  #using readline <br>
## C:\Users\trinker\Desktop\doc

trinker/rdir documentation built on May 31, 2019, 9:50 p.m.