Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: SV: RE: execute external program from within Stata?


From   Even Bergseng <even.bergseng@umb.no>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: SV: RE: execute external program from within Stata?
Date   Tue, 18 Nov 2008 19:12:33 +0100

Thanks Nick!

- shell- is exactly what I need (as I have to wait for results).

As I suspected, I was failing due to a lack of terminology. Being infected by SAS use, I was searching with the term sysexec...

Thanks,
Even


________________________________________
Fra: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu] p&#229; vegne av Nick Cox [n.j.cox@durham.ac.uk]
Sendt: 18. november 2008 18:42
Til: statalist@hsphsun2.harvard.edu
Emne: st: RE: execute external program from within Stata?

This kind of thing is a little platform-dependent. You don't signal
which platform(s) (operating system(s)) you are using. But otherwise
your question is clear.

A way of doing it is via a shell. See -help shell-.

Windows users can often use -winexec-. See the same place.

If you know the precise name and location of the executable, it's
typically easy.

Nick
n.j.cox@durham.ac.uk

Even Bergseng

I want to run an external program (exe-file) from within Stata, but
haven't been able to find any information on how to do it (my search
words may well be wrong due to either lack of terminology or proficiency
in english).

Any hints on Stata and execution of external programs?

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index