Learn R Programming

emuR (version 2.5.0)

rename_emuDB: Rename emuDB

Description

Rename a emuDB. This effectively renames the folder of a emuDB the _DBconfig.json file as well as the "name" entry in the _DBconfig.json file and the _emuDBcache.sqlite file if available.

Usage

rename_emuDB(databaseDir, newName)

Arguments

databaseDir

directory of the emuDB

newName

new name of emuDB

Examples

Run this code
if (FALSE) {

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

# rename ae emuDB to "aeNew"
rename_emuDB(databaseDir = "/path/2/ae_emuDB", newName = "aeNew")

}

Run the code above in your browser using DataLab