clean.admb: delete IRATE (ADMB) run files

Description Usage Arguments Author(s) See Also Examples

Description

delete IRATE (ADMB) run files (not model setup files).

Usage

1
2
  clean.admb(setup.name)
  clean.IRATE(setup.name)

Arguments

setup.name

Character string defining preinstalled IRATE example setups/datasets to be run. If missing or not valid, the user will be asked to choose among valid examples. Check IRATE.examples() for valid, preinstalled IRATE examples.

Author(s)

Robert K. Bauer

See Also

compile_admb, run_admb, IRATE.examples

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
example.setup <- IRATE.examples()
new.setup <- new.setup.path <- example.setup[1] # select old IRATE setup to reparameterize
print(new.setup) # print setup name to be run
old.setup.path <- system.file(paste0("IRATE.examples/",new.setup,".dat"), package = "IRATER")

system(paste("mkdir -p ",new.setup.path)) # create run folder for new setup
system(paste("cp",old.setup.path, new.setup.path)) # copy old setup in new run folder
setwd(new.setup.path)

run.IRATE(new.setup) # compile and run setup
clean.IRATE(new.setup) # deletes run files (leaving only the setup file for reruns)

IRATER documentation built on May 1, 2019, 7:32 p.m.