11.07.2015 Views

[U] User's Guide

[U] User's Guide

[U] User's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

[ U ] 28.3 Official updates 3812. I do not believe you. Pretend that something you did not anticipate goes wrong, such as thepower fails at the instant Stata is doing the local disk to local disk copy.If the improbable should happen, you can erase the update directory and then your Statais back to being just as it was shipped. Updates go into a different directory from thatof the originals and the originals are never erased.Stata tells you where it is installing your updates. You can also find out by typing sysdir.The directory you want is the one listed opposite UPDATES.(By the way, power failure should not cause a problem; the marker that the update isapplied is set last, so you could also just type update all again and Stata would refetchthe partially installed update.)3. How much is downloaded?It depends on how many updates have been made since you last updated. Typical updatesare only a few small files. If you wait 6 months between updates, you might have todownload around 1 MB.4. I am using Unix or a networked version of Stata. When I try to update all, I am told that thedirectory is not writeable. Can I copy the updates into another directory and then copy themto the official directory myself?Yes, assuming that you are a system administrator. Ordinarily, you would type updateall and Stata would download whatever updates might be available, ado and/or executable.update ado allows you to download just the ado updates and to specify an alternatelocation for them to be installed. Type update ado, into(dirname). Stata will downloadthe updates just as it would ordinarily but will place them in the directory you specify.We recommend that dirname be a new, empty directory, because later you will need tocopy the entire contents of the directory to the official place. The official place is thedirectory listed next to UPDATES if you type sysdir. When you copy the files, copyover any existing files. Previously existing files in the official update directory are justprevious updates. Also remember to make the files globally readable if necessary. See[R] update.28.3.4 Updating the executableAdo-file updates are released about every other week; updates for the executable are rarer thanthat. If the executable needs updating, Stata will mention it when you type update:. update from http://www.stata.com(contacting http://www.stata.com)Stata executablefolder:C:\Program Files\Stata11\name of file: Stata.execurrently installed: 28 Jul 2009latest available: 12 Nov 2009Ado-file updatesfolder:C:\Program Files\Stata11\ado\updates\names of files: (various)currently installed: 28 Jul 2009latest available: 28 Jul 2009RecommendationType -update all-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!