Attempts to find location of NONMEM installation directory used by PsN. Can be useful for finding the location of parafiles etc.
find_nm_install_path(name = "default")
find_nm_tran_path(name = "default", warn = TRUE)Character name of NONMEM installation (according PsN).
Logical (default = TRUE) to warn if fails to find NMTRAN.exe.
If functions cannot find installation they will return NULL without
errors or warning, otherwise they will return the located paths.
The function find_nm_install_path() will attempt to use a locally
available PsN installation to get this information. If the PsN
installation is on a remote server, this function will not work (it will
return a NULL)
The function find_nm_tran_path() will attempt to use a locally
available PsN installation to get this information. If the PsN
installation is on a remote server, this function will not work (it will
return a NULL). This is normally used to set nm_tran_command(). If
this function cannot find installation, you will need to set
nm_tran_command(), manually.