View source: R/NMproject-options.R
| nm_tran_command | R Documentation |
The function nm_tran() needs the location of NMTRAN.exe to function.
This is guessed at package load, assuming PsN is on the $PATH environmental
variable. If this is not the case, then you can manually set the path and
command used.
nm_tran_command(text)
text |
Optional character. If specified will set |
text can just be the path to NMTRAN.exe in which case
nm_tran_command will use the format /path/to/NMTRAN.exe < {ctl_name} to
launch NMTRAN.exe where {ctl_name} is the name of the control file.
Specifying
nm_tran_command("/path/to/NMTRAN.exe < {ctl_name}") is equivalent to:
nm_tran_command("/path/to/NMTRAN.exe")
More complicated formats are possible with different installations which can be seen examples.
As with all NMproject configuration options set this up either at the
beginning of your script, in your .Rprofile or for all users in
Rprofile.site. See FAQ for setting up configuration options permanently.
If text is missing will get and return the current NMTRAN command.
find_nm_tran_path(), nm_tran()
orig_cmd <- nm_tran_command()
orig_cmd
# the following two are equivalent
nm_tran_command("/opt/NONMEM/nm75/tr/NMTRAN.exe")
nm_tran_command()
nm_tran_command("/opt/NONMEM/nm75/tr/NMTRAN.exe < {ctl_name}")
nm_tran_command()
nm_tran_command(orig_cmd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.