Learn R Programming

emuR (version 0.1.8)

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 extention 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$") 
# 
# ## End(Not run)

Run the code above in your browser using DataLab