Stronghold
HomeServicesDocumentationBlog
  • Highly Secure Computing (Stronghold)
  • Data Management
    • SFTP Data Transfers
      • Data Imports
      • Data Exports
    • HTTPS Direct Downloads
      • FastX 3
      • FastX 2
    • Data Storage
    • Globus Transfers
      • Windows Tenants
      • Adding New Users
  • Usage
    • New Tenant Onboarding
    • Windows Environments
      • Access from Mac
      • Access from Windows
      • RDP Gateway from Mac
      • RDP Gateway from Windows
    • Linux Environments
      • FastX 3
      • FastX 2
  • Software
    • Windows Standard Software
    • Linux Standard Software
      • Julia
    • Package Archive Mirrors
      • BioConductor Mirror
      • CRAN Mirror
      • PyPI Mirror
    • Install R/Python Packages from Local File
    • Jupyter Lab on Linux Workstations
    • Changing the temporary folder for softwares
      • SAS
      • STATA
      • RStudio
    • Changing Default Package install locations on Windows
      • Python (Pypi packages)
      • R (CRAN Packages)
      • Stata packages
  • Git
    • Git Sync
    • GitLab
  • Access & Security Groups
    • User Groups
    • Lifespan Staff Access
  • Multi-Protocol Access
    • Access Same Data from Windows and Linux Workstations
Powered by GitBook
On this page
  • Step 1: Download package
  • Step 2: Transfer Files to Stronghold
  • Step 3: Location to store packages
  • Step 4: Add package to folder
  • Step 5: Modify profile.do

Was this helpful?

  1. Software
  2. Changing Default Package install locations on Windows

Stata packages

PreviousR (CRAN Packages)NextGit Sync

Last updated 1 year ago

Was this helpful?

Step 1: Download package

Visit 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 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.

  1. 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

  1. 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

  1. 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.

  2. Open Stata and run the command sysdir. You should see the new folder from step 2 listed here.

this page
here