Bookmark and Share

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]

Re: st: length of a returned local using rclass


From   Miranda Kim <mk@mrc.soton.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: length of a returned local using rclass
Date   Tue, 06 Apr 2010 11:01:49 +0100

Thanks Martin,
I just looked at -h limits- but I can't see anything specific to rclass
If I simply store the list in a local macro, it stores it fine and does not go over the limit (as stated in the above help page maximum characters in a macro: 1,081,511), but trying to save it in r() using -return local- that is when it is truncated; so I thought it might be specific to rclass; however I may be mistaken about this...
Best wishes,
Miranda

Martin Weiss wrote:
Have you had a look at -h limits-?

HTH
Martin

-original message-
Subject: st: length of a returned local using rclass
From: Miranda Kim <mk@mrc.soton.ac.uk>
Date: 06-04-2010 11:44

Hello,
When writing a small program that saved a string (list of variables) using -rclass- and -return local-, the list was prematurely truncated. I therefore wonder if there a limit to the number of characters that can be stored in a local macro using rclass, or if I should be looking for a bug in my code?
Many thanks,
Miranda

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


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



*
*   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   |   Site index