Abstract

Stata users are often asked to work on web-disabled machines with little or no Internet access. So it may not be possible for the user to download packages at will using the
Stata, like R and Genstat, is a statistical language with potentially as many dialects as users. These dialects are defined by the optional packages that each user has downloaded; the number may be hundreds for a high-power user. This is a major advantage of a statistical language (such as Stata) over a statistical package (such as SPSS). And Stata users would like to continue to have that advantage on web-disabled machines.
Fortunately, downloaded packages can be ported between machines. Downloaded packages on a web-enabled machine are stored in a folder called
We see that the
which is a folder containing subfolders that contain the files belonging to the downloaded packages. In our case, there are over 100 packages containing over 1,000 files.
Most ways of porting a
This command produces a lot of output to the log, which I have omitted. However, it also produces the
A
To be able to use the packages on our destination machine, we simply add the location (and its subfolders) to our ado-path, using an
Once this is done, we can use any packages in the ported folder (or its subfolders). Note that the ported folder is ported as a single item, so this process takes no more time for 100 packages containing 1,000 files than for 1 package containing 2 files. Therefore, no powers are lost, even for high-power users with hundreds of downloaded packages.
Methods similar to these might also save time porting all of a user’s downloaded packages together from one machine to another, even if the destination machine is not web disabled or if the downloaded packages on the source machine live in a folder other than the
