Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: adoupdate : problem with reported r(pkglist)


From   "Zurab Sajaia" <zsajaia@hotmail.com>
To   "statalist" <statalist@hsphsun2.harvard.edu>
Subject   st: adoupdate : problem with reported r(pkglist)
Date   Mon, 21 May 2007 17:56:51 -0400

Hi everyone,

My program uses other user-written programs and I'm thinking of finding ways how to check whether those packages are present/up-to-date.

I use -adoupdate- but it seems to return not what's the help file says it would :

"adoupdate saves in r(pkglist) a space-separated list of package names that need updating (option update not specified) or that were updated (option update specified)."

if I write

. adoupdate "somelistofarguments"

r(pkglist) contains the exactly same list of arguments, even if packages were not found or already up to date.

Have anybody encountered the similar behavior?

Thanks in advance for any insights
Zurab
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* 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