View source: R/trimCommonPath.R
trimCommonPath | R Documentation |
Remove any common leading path from a set of paths.
trimCommonPath(files)
files |
character vector of full paths to files |
files
, with any leading common path removed.
John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm
trimCommonPath(c("/A/B/C", "/A/B/D/E", "/A/B/F")) == c("C", "D/E", "F")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.