system.ls: Run ls command

Description Usage Arguments Value

View source: R/helper_functions.R

Description

Runs ls command on system. This is a workaround since list.files can not match patterns based on subdirectory structure.

Usage

1
system.ls(pattern = "", directory = "", error = FALSE)

Arguments

pattern

pattern to match files

directory

base directory command should be run from

error

logical indicating whether to throw an error if no matching founds found. Defaults to False.

Value

paths returned by ls command


varitas documentation built on Nov. 14, 2020, 1:07 a.m.