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: Repeatedly limiting the variables that are shown in the editor window


From   Scott Merryman <[email protected]>
To   [email protected]
Subject   Re: st: Repeatedly limiting the variables that are shown in the editor window
Date   Tue, 27 Aug 2013 09:51:17 -0500

You could save the set as a -note- and then use -local list: char ...-
 to bring the note into a local macro


. sysuse auto,clear
(1978 Automobile Data)

. note: price mpg gear

. save "test_auto.dta",replace
file test_auto.dta saved

. clear*

. use "test_auto.dta", clear
(1978 Automobile Data)

. local list :char  _dta[note2]

. browse `list'

Scott


On Tue, Aug 27, 2013 at 9:12 AM, Ben Hoen <[email protected]> wrote:
> Hi all,
>
> I have a large dataset with many variables that I regularly inspect via the
> data editor window.  To make viewing the dataset more manageable I often
> select only a subset of the variables to view.
>
> Is there any way to save this selection set to use the net time I open the
> data?
>
> Thanks, in advance,
>
> Ben
*
*   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