export_model_files: export_model_files

View source: R/functions_wrapper.R

export_model_filesR Documentation

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

## Not run: 
ctx <- open_context("myrun")
export_model_files(ctx)

## End(Not run)


pharmr documentation built on May 28, 2026, 5:08 p.m.