Statalist


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

st: RE: Check whether ado file is installed


From   "Tharyan, Rajesh" <R.Tharyan@exeter.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Check whether ado file is installed
Date   Mon, 14 Dec 2009 14:10:26 +0000

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Jan Sauermann
Sent: 14 December 2009 01:05
To: statalist@hsphsun2.harvard.edu
Subject: st: Check whether ado file is installed

Dear Stata list,

I work on different computers and would Stata to automatically check
whether a number of ado-files is installed on a local machine. My idea
was to write something like

[a command which checks whether one ado-file is installed / or not]
if package!=installed {
    ssc install package
}

My problem is basically to find a command which (1) checks whether an
ado file is installed and (2)  gives me a local as return.

Best regards,

Jan
*
*   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