[S] dos() command in SPLUS

Wolfgang Rolke (w_rolke@rumac.upr.clu.edu)
Sat, 10 Oct 1998 11:49:20 -0700


This is a multi-part message in MIME format.
--------------32B4AC85FB3BA5E6813F9AA4
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hallo,

I am trying to use the "dos" command to run a fortran executable
from within Splus. The command I use is:

dos("c:\\wolfgang\\fortran\\myminuit\\semipar.exe")

Here semipar.exe is a program that calls up a data set from a file, does
some computations and then writes the results to another file. When I
run the program from a dos prompt it works perfectly fine but when I try
to
run it from within Splus I get the error message:

[1] "*ERR* IO-21 invalid STATUS specifier for given file"
I have tried all the combinations of the arguments to "dos" such as
"multi" and "output.to.S" that I could think of but to no avail. Maybe
part of the problem is that when the program runs it also writes a
number
of messages to the screen?
I have already tried to find out how to suppress this output but without
success so far.

Any help will be appreciated.

Wolfgang

P.S. I run Splus45 on a Pentium 266 with 64 MB of RAM under Win95

P.S.S If you received this message twice I apologize. Since hurricane
George my email service is very shaky and I am not exactly sure what
it is doing. Sorry
--------------32B4AC85FB3BA5E6813F9AA4
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Wolfgang Rolke
Content-Disposition: attachment; filename="vcard.vcf"

begin: vcard
fn: Wolfgang Rolke
n: Rolke;Wolfgang
org: University of Puerto Rico - Mayaguez
email;internet: w_rolke@rumac.upr.clu.edu
title: Associate Professor
note: Web Sites: http://home.coqui.net/wolfgang http://math.upr.clu.edu/~wrolke
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard

--------------32B4AC85FB3BA5E6813F9AA4
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Wolfgang Rolke
Content-Disposition: attachment; filename="vcard.vcf"

begin: vcard
fn: Wolfgang Rolke
n: Rolke;Wolfgang
org: University of Puerto Rico - Mayaguez
email;internet: w_rolke@rumac.upr.clu.edu
title: Associate Professor
note: Web Sites: http://home.coqui.net/wolfgang http://math.upr.clu.edu/~wrolke
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard

--------------32B4AC85FB3BA5E6813F9AA4
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Wolfgang Rolke
Content-Disposition: attachment; filename="vcard.vcf"

begin: vcard
fn: Wolfgang Rolke
n: Rolke;Wolfgang
org: University of Puerto Rico - Mayaguez
email;internet: w_rolke@rumac.upr.clu.edu
title: Associate Professor
note: Web Sites: http://home.coqui.net/wolfgang http://math.upr.clu.edu/~wrolke
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard

--------------32B4AC85FB3BA5E6813F9AA4--

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news