Learn R Programming

emuR (version 2.5.0)

create_emuDB: Create empty emuDB

Description

Creates an empty emuDB in the target directory specified

Usage

create_emuDB(
  name,
  targetDir,
  mediaFileExtension = "wav",
  store = TRUE,
  verbose = TRUE
)

Arguments

name

of new emuDB

targetDir

target directory to store the emuDB to

mediaFileExtension

defines mediaFileExtention (NOTE: currently only 'wav' (the default) is supported by all components of EMU)

store

store new created emuDB to file system

verbose

display infos & show progress bar

Details

Creates a new directory [name]_emuDB in targetDir. By default the emuDB is created in the R session, written to the filesystem and then purged from the R session.

Examples

Run this code
if (FALSE) {
# create empty emuDB in folder provided by tempdir()
create_emuDB(name = "myNewEmuDB", 
             targetDir = tempdir())
}

Run the code above in your browser using DataLab