Dear Zheng,
You can call nonmem with the dos function as follows :
dos('D:\\nmvg77\\run\\nmfe5 D:\\nmvg77\\run\\run36.mod
D:\\nmvg77\\run\\run36.lst ', ... other options you want to specify)
Make sure you specify the correct path to the function note the double \\.
You can also use the system function in S-plus see this previous post :
http://www.cognigencorp.com/nonmem/nm/99nov022005.html
The system function is more flexible.
Samer
-------- Message d'origine--------
Quoted reply history
De: [EMAIL PROTECTED] de la part de Zheng Lu
Date: mar. 24/04/2007 17:20
À: nmusers
Objet : [NMusers] dos() function in s-plus to call NONMEM using the
bootstrappeddata
Dear All:
Could someone tell how to use dos() in S-plus to run NONMEM for
Bootstrapped Data. In my computer, NONMEM can be run in standard DOS
window, my basic question is how to specify the path of .ctl file and
.lst file, when I write dos('nmfe6 amiwr.ctl amiwr.lst')in s-plus, the
message of no amiwr.ctl found was returned, even amiwr.ctl is already
under c:\, thank you very much for your consideration and help.
Zheng