get_common_dir: Get common root folder of file paths

View source: R/Functions_formatting_utilities.R

get_common_dirR Documentation

Get common root folder of file paths

Description

From: https://rosettacode.org/wiki/Find_common_directory_path#R

Usage

get_common_dir(paths, delim = "/")

Arguments

paths

vector of paths

delim

folder delimiter

Value

sting with the common root folder of all supplied paths


mjhelf/Metaboseek documentation built on April 23, 2022, 12:09 p.m.