Re: st: RE: Reinstalling Stata - How to reinstall downloaded packages

There is a difference between "all packages that I've downloaded" and
"all packages that I've installed".
In general, if you are reinstalling Stata because some files were
lost, it is also possible that your STATA.TRK file was lost. Which
means that Stata does no longer know, which packages you've installed.
If this file is gone, ado dir will tell you nothing, even if the
installed packages are still there.
Some users are not as organized as experienced gurus here, and often
unzip the package to a current dir, or somewhere along the adopath and
that is enough for the new commands to work, But since no installation
was made, ado dir knows nothing about them.
In some cases it can make sence just to back up the whole ado directory.
Anscillary files may have been downloaded, but not available now, you
need to back up those too. Versions must be considered. Older versions
may be no longer available, newer may not always be compatible or
produce different results making replication not possible.
There are other similar things to consider, but you've got the point:
ado dir is not a silver bullet.
Regards, Sergiy
On Feb 18, 2008 3:55 PM, Nuno <liststata@gmail.com> wrote:
> You can use the adolist package. It allows you to create a list of the
> packages you have installed and install them in one go. That's what I use.
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Allan Joseph
> Medwick
> Sent: segunda-feira, 18 de Fevereiro de 2008 20:44
> To: statalist@hsphsun2.harvard.edu
> Subject: st: Reinstalling Stata - How to reinstall downloaded packages
>
> Hi, All,
>
> I need to reinstall Stata. I know that I can list all of the packages I
> have downloaded using "ado dir". Is there an easy way to turn this list
> into a do file that I can run when I reinstall Stata to get all of the same
> packages back?
>
> Thanks,
> Allan
>
> --
> Allan Joseph Medwick, MGA
> Doctoral Student, Higher Education Management University of Pennsylvania
> Graduate School of Education
> Telephone: 267.872.0336
> *
> * 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/
>
*
* 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/