Mr Toby Daniel Ahrens wrote: > I am trying to use R (windows version 2.0.1) to manage runs of a program > that is run from a DOS command prompt. Is R able to call a DOS prompt? I > am hoping that there is something analogous to the "spawn" command in IDL, > but I can't see to find any help in the R archives... > > Thanks very much, > > Toby
Yes, e.g. system("cmd") to get a "DOS" prompt. See ?system or ?shell for details. You may consider to use wait=FALSE if you want a non-modal behavior. HTH Thomas P. ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html