RE: DOS emulation window issue
From: Piotrovskij, Vladimir [PRDBE] VPIOTROV@PRDBE.jnj.com
Subject: RE: [NMusers] DOS emulation window issue
Date: Fri, 4 Nov 2005 10:03:33 +0100
*Malaz,*
** *"dos" function is deprecated in S-PLUS 2000 and higher (although still supported).
I use the function "system" that is quite flexible. The following command:
system("C:\\WINNT\\SYSTEM32\\CMD.EXE /c start /LOW/i C:\\nmv\\run\\nmfe5 mod.txt out.txt",multi=T)
opens the dos window and sets the priority of the process to "low". You can use other applications
and will observe no delays. After NONMEM run stops the dos window remains open allowing you to
examine NONMEM messages (if any).
Another command
ystem("c:\\nmv\\run\\nmfe5.bat mod.txt out.txt",multi=T)
creates the nonmem process with high priority, and after the run stops closes the dos window.
It is convenient for multiple runs like bootstrapping. The argument "multi" regulates the
availability of the S-PLUS session while the process is running. multi=F blocks the session.
If multi=T you can use it.*
*Best regards,*
*Vladimir*
--------------------------------------------------------------------
Vladimir Piotrovsky, PhD
Research Fellow
Global Clinical Pharmacology & Experimental Medicine
J&J Pharmaceutical Research and Development
Beerse
Belgium