Statalist The Stata Listserver


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

Re: st: adoupdate : problem with reported r(pkglist)


From   "Zurab Sajaia" <zsajaia@hotmail.com>
To   "statalist" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: adoupdate : problem with reported r(pkglist)
Date   Wed, 23 May 2007 10:59:55 -0400

I dont remember the exact reason of that problem with -adoupdate-
and -xml_tab-, but I do remember it being unrelated to -xml_tab-, just a
coincidence.

As for -adoupdate- itself, or more general (in case -adoupdate- r(pkglist)
wont work), my problem of making sure most recent versions of ado-s are
installed, does anyone have other ideas?

Thanks
Zurab


----- Original Message ----- From: "Clive Nicholas" <clivelists@googlemail.com>
To: <statalist@hsphsun2.harvard.edu>
Sent: Tuesday, May 22, 2007 10:07 PM
Subject: Re: st: adoupdate : problem with reported r(pkglist)



On 21/05/07, Zurab Sajaia <zsajaia@hotmail.com> wrote:

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?
I've encountered a slight niggle with -adoupdate, update- that may be
related to Zurab's issue; namely, that it keeps insisting that the
same couple of SSC packages on my list have new versions ready to
download, when in fact they don't: one of them is your very own
-xml_tab-. It does it every time I execute -adoupdate-.

--
Clive Nicholas
*
*   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/

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