Learn R Programming

pharmr (version 2.2.0)

export_model_files: export_model_files

Description

Exports all model files to specified directory.

Will export all model files generated/related to the external software used. Files will be named with model name (from context) and original suffix (e.g. model.ctl for modelsearch_run1 -> modelsearch_run1.ctl). If no suffix, file will be named model name and original name (e.g. mytab for modelsearch_run1 -> modelsearch_run1_mytab)

Usage

export_model_files(context, destination_path = NULL, force = FALSE)

Arguments

context

(Context) The context

destination_path

(str (optional)) Path to export model files to, NULL means current working directory

force

(logical) Allow file overwrite (default is FALSE)

Examples

Run this code
if (FALSE) {
ctx <- open_context("myrun")
export_model_files(ctx)
}

Run the code above in your browser using DataLab