Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: too long string-variable to get proper output


From   mbohl@rumms.uni-mannheim.de
To   statalist@hsphsun2.harvard.edu
Subject   st: too long string-variable to get proper output
Date   Thu, 11 Jan 2007 16:50:29 +0100

I tried to generate a cross-table by using a stringvariable as rowvariable (names of spanish political parties) with up to 50 signs (%50s), and the years of the elections of spanish congress as columnvariable (%4.0g). I always got the %50s-variable truncated to 20 signs in the output, so I couldn't transfer the table properly to an excel-sheet and finally had to use SPSS to manage it. is there a possibility to enlarge the first column for getting the whole 50 signs in?

Marian Bohl

*
* 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/