11.07.2015 Views

[U] User's Guide

[U] User's Guide

[U] User's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

386 [ U ] 28 Using the Internet to keep up to date28.4.3 Finding files to downloadThere are two ways to find useful files to download. One is simply to thumb through sites. Thatis inefficient but entertaining. If you want to do that,1. Select Help > SJ and User-written Programs.2. Click on Other Locations.3. Click on links.What you are doing is starting at our download site and then working out from there. We maintaina list of other sites and those sites will have more links. You can do this from command mode, too:. net from http://www.stata.com. net cd linksThe efficient way to find files—at least if you know what you are looking for—is to search.There are two ways to do that. If you suspect what you are looking for might already be in Stata (orpublished in the SJ), use Stata’s search command:. search concordance correlationEquivalently, you could select Help > Search. Either way, you will learn about sg84 3 and you caneven click to install it.If you want to search for additions over the net, i.e., the SJ and archive sites and user sites, type. net search concordance correlationor select Help > Search, and this time click Search net resources, rather than the default “Searchdocumentation and FAQs”.28.4.4 Updating additions by usersAfter you have installed some user-written features, you should periodically check whether anyupdates or bug fixes area available for those commands. You can do this with the adoupdate command.Simply type adoupdate to see if any updates are available, and if they are, type adoupdate, updateto obtain the updates. See [R] adoupdate for more details.28.5 Making your own download siteThere are two reasons you may wish to create your own download site:1. You have datasets and the like, you want to share them with colleagues, and you want to makeit easier for colleagues to download the files.2. You have written Stata programs, etc., that you wish to share with the Stata user community.Making a download site is easy; the full instructions are found in [R] net.At the beginning of this chapter, we pretended that you had a dataset you wanted to share withcolleagues. We said you just had to copy the dataset onto your server and then let your colleaguesknow the dataset is there.Let’s now pretend that you had two datasets, ds1.dta and ds2.dta, and you wanted yourcolleagues to be able to learn about and fetch the datasets by using the net command or by pullingdown Help and selecting SJ and User-written Programs.

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

Saved successfully!

Ooh no, something went wrong!