Replace data file used in Nonmem control stream
NMreplaceDataFile(files, file.pattern, dir, path.data, newfile = file.mod, ...)
Paths to input control streams to modify. See file.pattern and dir too.
A pattern to look for if `dir` is supplied too (and not `file.mod`). This is used to modify multiple input control streams at once.
Directory in which to look for `file.pattern`. Notice, use either just `file.mod` or both `dir` and `file.pattern`.
Path to input control stream to use in newfile
A path to a new control stream to write to (and don't edit contents of `file.mod`). Default is to overwrite `file.mod`.
Additional arguments to pass to NMwriteSection.
Lines for a new control stream (invisibly)
Other Nonmem:
NMapplyFilters()
,
NMextractText()
,
NMgenText()
,
NMreadSection()
,
NMwriteSection()