Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Setting options in profile.do


From   Bob Fitzgerald <[email protected]>
To   [email protected]
Subject   st: Setting options in profile.do
Date   Fri, 11 Jun 2004 09:35:00 -0700

I have tried to "set linesize" to 80 for every Stata session via my
profile.do, but find that unlike other options, the linesize remains at the
Stata default. Manually resetting linesize via "set linesize 80" within a
Stata session does work. Is there any reason that I should not be able to
resize linesize via profile.do?

My profile.do is as follows (note that all other options shown are working):

set varlabelpos 10
set linesize 80
if _caller() >= 8 {
  window menu clear
  window menu append submenu "stUser" "&Meta-Analysis"
  window menu append item "Meta-Analysis" "Of Binary and Continuous
(meta&n)" "db metan"
  window menu append item "Meta-Analysis" "Of Effects (&meta)" "db meta"
  window menu append item "Meta-Analysis" "Of p-values (meta&p)" "db metap"
  window menu append item "Meta-Analysis" "Cumulative (meta&cum)" "db metacum"
  window menu append item "Meta-Analysis" "Regression (meta&reg)" "db metareg"
  window menu append item "Meta-Analysis" "Funnel Graph, metan-based
(f&unnel)" "db funnel"
  window menu append item "Meta-Analysis" "Funnel Graph, vars reordered
(funnel&2)" "db funnel2"
  window menu append item "Meta-Analysis" "L'abbe Graph, metan-based
(&labbe)" "db labbe"
  window menu append item "Meta-Analysis" "NNT, metan-based (metann&t)"
"db metannt"
  window menu append item "Meta-Analysis" "Influence Analysis, metan-based
(metan&inf)" "db metaninf"
  window menu append item "Meta-Analysis" "Influence Analysis, meta-based
(metain&f)" "db metainf"
  window menu append item "Meta-Analysis" "Galbraith Plot for
Heterogeneity (&galbr)" "db galbr"
  window menu append item "Meta-Analysis" "Publication Bias (meta&bias)"
"db metabias"
  window menu append item "Meta-Analysis" "Trim and Fill Analysis
(metatrim)" "db met&atrim"
  window menu refresh
}
qui window menu append item "stUser" "&T TextPad" "winexec \Program
Files\TEXTPAD 4\textpad.exe
----------------------------------------------------------------------------------------------------------------------------------------------------
Running Stata SE8 for Windows, updated.

Many thanks,

Bob

Robert Fitzgerald
Senior Research Associate
MPR Associates, Inc.
2150 Shattuck Avenue Suite 800
Berkeley, CA 94704
(510) 849-4942

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index