system.ls {varitas}R Documentation

Run ls command

Description

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

Usage

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


[Package varitas version 0.0.2 Index]