Learn R Programming

emuR (version 2.4.0)

list_files: List files of emuDB

Description

List files belonging to emuDB. For more information on the structural elements of an emuDB see vignette{emuDB}.

Usage

list_files(
  emuDBhandle,
  fileExtension = ".*",
  sessionPattern = ".*",
  bundlePattern = ".*"
)

Value

file paths as character vector

Arguments

emuDBhandle

emuDB handle as returned by load_emuDB

fileExtension

file extension of files

sessionPattern

A (RegEx) pattern matching sessions to be searched from the database

bundlePattern

A (RegEx) pattern matching bundles to be searched from the database

Examples

Run this code
if (FALSE) {

##################################
# prerequisite: loaded ae emuDB
# (see ?load_emuDB for more information)

# list all files of ae emuDB
list_files(emuDBhandle = ae)

# list all files of ae emuDB in bundles ending with '3'
list_files(emuDBhandle = ae, bundlePattern=".*3$") 

}

Run the code above in your browser using DataLab