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, is already up and running.

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

Re: st: destring_loop

From   Nick Cox <>
Subject   Re: st: destring_loop
Date   Sat, 18 Aug 2012 17:34:26 +0100

You could type in Stata

. help ds

to see that the saving of r(varlist) is documented. You could type

. help saved results

to learn more. To do this on-line,


On Sat, Aug 18, 2012 at 11:34 AM, Mahbubeh Parsaeian
<> wrote:
> I really appreciate it.
> As I understood the first command list variables not specified in the command  (var2-var10) and using the second command  Stata just destring the specified varlist. I am not familiar with how `r(varlist)' work or mean? Is it possible to help me to understand  it? or with which keyword I can use Stata help to understand it.
> Bunches of thanks,
> Mahboubeh
> One option is to use -ds- with the "not" option:
> ds var1, not
> destring `r(varlist)', replace

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index