Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

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

From |
"Nick Cox" <n.j.cox@durham.ac.uk> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: Undocumented limitation of describe (and hence -ds-) in Stata 10? |

Date |
Wed, 7 Apr 2010 11:02:18 +0100 |

This question was almost entirely resolved. Michael was being bitten by evaluating equals signs and misreading his experience. On one marginal detail: -ds3- (SSC) doesn't have the limitation asserted here any more than the official commands mentioned. But if you are interested in -ds3- there is only one reason to use it rather than -findname- (also SSC), namely that you are using Stata 7 or Stata 8. (Neither applies in Michael's case.) Nick n.j.cox@durham.ac.uk Michael I. Lichter I found out the hard way that the r(varlist) macro result returned by -describe, varlist- (and hence -ds- and Nick Cox's -ds3-) is limited to 243 characters, at least on my computer running Stata 10. Is there a Stata setting I need to change? The help page says something about -maxvar-, but this doesn't seem like it should matter, and in any event doubling -maxvar- has on effect on this result. If this is not a settings issue, has it been fixed in Stata 11? Thanks. ----- clear forvalues i = 1/26 { gen byte testvar`i' = . } d, varlist di r(varlist) local x = r(varlist) di `:length local x' ----- * * 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/

**References**:**st: Undocumented limitation of describe (and hence -ds-) in Stata 10?***From:*"Michael I. Lichter" <mlichter@buffalo.edu>

- Prev by Date:
**RE: st: RE: RE: RE: Undocumented limitation of describe (and hence -ds-) in Stata 10?** - Next by Date:
**RE: st: RE: RE: RE: Undocumented limitation of describe (and hence -ds-) in Stata 10?** - Previous by thread:
**RE: st: RE: RE: RE: Undocumented limitation of describe (and hence -ds-) in Stata 10?** - Next by thread:
**st: question about bsample** - Index(es):