Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

parse_path

Parse file path into useful components


Description

Parse file path into useful components

Usage

parse_path(path, chr = "", pdir = getwd(), mess = TRUE)

Arguments

path

Path to be parsed

chr

Character to wrap around path for display

pdir

Project directory if available

mess

Print messages if Dropbox or Google Drive not found

Details

Parse file path into useful components (i.e., file name, file extension, relative path, etc.)

Examples

list.files(".", full.names = TRUE)[1] %>% parse_path()

radiant.data

Data Menu for Radiant: Business Analytics using R and Shiny

v1.3.12
AGPL-3 | file LICENSE
Authors
Vincent Nijs [aut, cre]
Initial release
2020-11-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.