Learn R Programming

emuR (version 1.0.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 = ".*")

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

Value

file paths as character vector

Examples

Run this code
# NOT RUN {
##################################
# 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$") 

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab