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]

st: r(varlist)


From   tashi lama <[email protected]>
To   <[email protected]>
Subject   st: r(varlist)
Date   Thu, 8 Nov 2012 16:26:24 +0000

Hello all, 
  sysuse auto, clear 
  ds 
  return list 

macros:
            r(varlist) : "make price mpg rep78 headroom trunk weight length turn displacement gear_ratio foreign"

di r(varlist)
make price mpg rep78 headroom trunk weight length turn displacement gear_ratio foreign

Since r(varlist) is a macro, do I not say 
di `r(varlist)' 
Surprisingly, when I say di `r(varlisr)' gives me   AMC Concord40992232.5112930186401213.57999990


Am I missing something here??

Thanks, 
Tashi  		 	   		  
*
*   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