Stata: Data Analysis and Statistical Software
   >> Home >> Resources & support >> FAQs >> Environment variables recognized by Stata for Unix

What environment variables does Stata recognize?

Title   Environment variables recognized by Stata for Unix
Author Alan Riley, StataCorp
Date January 1999; minor revision March 2003

  • HOME — User's home directory. Default is the directory specified in /etc/passwd.
  • PATH — Unix executable search path.
  • SHELL — to execute when user tries to shell out of Stata. Default is /bin/sh.
  • S_ADO — Stata’s ado-path. Default is UPDATES;BASE;SITE;.;PERSONAL;PLUS;OLDPLACE (mapping of these keywords to real directories can be seen by typing sysdir in Stata)
  • STATATERM — used if you want to use a different termcap or terminfo entry than what is in your TERM environment variable.
  • STATATMP — sets Stata’s temporary directory. Default is /tmp.
Bookmark and Share 
FAQs
What's new?
Statistics
Data management
Graphics
Programming Stata
Mata
Resources
Internet capabilities
Stata for Windows
Stata for Unix
Stata for Mac
Technical support
Like us on Facebook Follow us on Twitter Follow us on LinkedIn Google+ Watch us on YouTube
Follow us
© Copyright 1996–2013 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index   |   View mobile site