Stata packages
Step 1: Download package
Visit this page on your personal computer and download the stata package files (.ado, .sthlp, etc). You can search your package name on that page and click the red "Download" button to download the files
Step 2: Transfer Files to Stronghold
Follow the instructions here to transfer these files to the Stronghold Workstation. You need to be a member of the import security groups to be able to do this step. If you are not a member, you should ask someone else who is a member of this group to transfer the files for you.
Step 3: Location to store packages
This is a one-time step. You do not have to repeat this step if you performed it before.
Identify the new location for installing Stata packages. Here, we will assume it is E:\stata_packages
Step 4: Add package to folder
Add the packages transferred in Step 2 in this folder.
Step 5: Modify profile.do
This is a one-time step. You do not have to repeat this step if you performed it before.
Open the file browser and go to your home folder. You can do this by entering this in the address bar
C:\Users\<username>
For example, the home directory for user ccvdemo2
is C:\Users\ccvdemo2
Create a new text file in the folder using Notepad. Enter this text in the file.
sysdir set PLUS "E:\stata_packages"
Use the folder from Step 3 instead of E:\stata_packages
Save this file in the home directory with the name
profile.do
. Choose a blank "Save as type", to prevent Windows from adding a.txt
file extension.Open Stata and run the command
sysdir
. You should see the new folder from step 2 listed here.
Last updated