r_path: Convert Windows file path to R compatible file path

View source: R/utilities.R

r_pathR Documentation

Convert Windows file path to R compatible file path

Description

Copy the file path from windows explorer to your clipboard and call the function with no argument. The R compatible file Path will be returned

Usage

r_path(path = "clipboard")

Arguments

path

Path can be copied to clipboard

Value

Character vector of R compatible file path

Examples

# Copy file path to the cliboard and call the function.
utils::writeClipboard("C:\\Windows")
r_path()
r_path("C:\\Windows")

wagnius-GmbH/slvwagner documentation built on Jan. 19, 2025, 7:10 a.m.