Learn R Programming

nonmem2R (version 0.2.5)

get.model.path: Get and set model.path

Description

The model.path in the nonmem2R set of global variables is used by functions loading NONMEM or PSN generated output file. The model.path can ge retrived by get.model.path and can be set using set-model.path. When loading nonmem2R the model-path is set to "", e.g. the current working directory. The model.path can be set abolute or relative, see examples.

Usage

get.model.path()

set.model.path(model.path)

Arguments

model.path

character string for path to model files

Examples

Run this code
if (FALSE) {
## Example for setting absolute path
set.model.path("c:/NONMEM")
## Example for setting relative path,
set.model.path("../NONMEM")
}

Run the code above in your browser using DataLab