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 27, 2022, 5:13 p.m.