Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: stata8 update


From   Kit Baum <baum@bc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: stata8 update
Date   Fri, 2 Sep 2005 07:16:49 -0400

Neil suggested

The recommended way of installing user-written ado-files is via one of -net from-, or -ssc- (although you can use -findit- as a roundabout way of finding the package you are after).

You have email access so I would recommend that you attach the computer to the internet connection and then...

. ssc install psmatch2

However, if for whatever reason you can not physically connect the computer to the internet you could try saving the files directly from...

http://ideas.repec.org/c/boc/bocode/s432001.html

...saving them to your local ado path. What your local ado path is depends on your operating system which you have not indicated.



The two problems that may occur when downloading SSC files with a web browser are

1) the .ado file may contain long lines that are inadvertently wrapped when you save the file to your desktop. That will probably cause a syntax error message in Stata. You can fix it by going through the code and looking for lines that have been broken. Alternatively 'set trace on' and run the routine. It will show you where the (first) error is.

2) If you are using Windows, the .hlp file is considered a Windows help file, a binary file type. Some universities' and companies' firewalls prohibit the downloading (or emailing!) of such files by Windows users. I suppose you could display the file in your web browser and cut and paste it to a text editor, rather than (trying to) save it to your desktop, but that might be tedious. Or, save it to your desktop as something that Windows and your firewall will not recognize as binary, such as .txt.

Since some SSC packages have many, many files associated with them (and some of those nowadays are indeed binary--such as Mata object libraries, not relevant for Stata 8) I would recommend finding a machine with Internet access, using Stata on that machine (even if you have to temporarily install Stata there) to do the 'ssc install...' steps, and then copying items you have installed from ~/ ado/plus on that machine to the machine lacking internet access. You could just zip the entire ~/ado/plus directory and move it over to the other machine with a flash drive or whatever, and merge the contents with ~/ado/plus on the target machine.

Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html


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