Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Variable name length limit


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Variable name length limit
Date   Tue, 20 Aug 2013 16:05:28 +0100

No; you're quite right that -reshape wide- needs shorter names because
it will be adding stubs. And your suggestion would certainly help.

But the larger context seems to be whether and how to improve on what
Stata does given impossibly long candidate names.
Nick
[email protected]


On 20 August 2013 15:51, Phil Schumm <[email protected]> wrote:
> On Aug 20, 2013, at 9:30 AM, Nick Cox <[email protected]> wrote:
>> that is too long could not in fact be a variable name, so it never gets to be a member of _all.  Applying -rename- to make it shorter not only won't help, it is not even possible in principle.
>
>
> I misunderstood -- I thought the OP already had an imported dataset but with some names 32 chars long, and then wanted to reshape, so needed to trim these to 31 chars (or less).
>
>
> -- Phil
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index