slasher: Edit the slash type of the path that is currently in the...

slasherR Documentation

Edit the slash type of the path that is currently in the clipboard

Description

fslash converts slashes in the clipboard to forward slashes; bslash converts slashses in the clipboard to back slashes.

Both of these functions are designed to be used while copying and pasting paths between R and other applications on a Windows system. For example you could copy a path from Windows Explorer, run fslash() and then paste the modfied path into R. Conversely you could copy a path from your R code run bslash() and then paste into Explorer or other applications that expect a backslash.

Usage

fslash()

bslash()

ethanplunkett/slasher documentation built on Sept. 27, 2022, 3:37 p.m.