adamryczkowski/pathcat: Provides and make.path.relative functions, that enhance system.path() function that concatenates paths. unwinds '..' into actually removing last folder from the path. make.path.relative finds the youngest common ancestor of both directories, and removes it from the path given in the second argument (target.path) All functions allow for mixing '/' with '\' on each path, treating both characters equally (so you can't have a filename with backslash even if you are on Linux)

Getting started

Package details

Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
adamryczkowski/pathcat documentation built on May 10, 2019, 5:51 a.m.