Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: re: re: Can Stata access the SGE_TASK_ID environment variable (from


From   Kit Baum <kitbaum@me.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: re: re: Can Stata access the SGE_TASK_ID environment variable (from
Date   Mon, 19 Oct 2009 20:59:36 -0400

previous posting can be done as a one-liner in Mata:

shell env | grep "PATH=" > /tmp/_path
mata: st_local("_path",fget(fopen("/tmp/_path","r")))
di "path is `_path'"

Kit Baum
kitbaum@me.com



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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