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   "Ben Hoen" <[email protected]>
To   <[email protected]>
Subject   RE: st: Repeatedly limiting the variables that are shown in the editor window
Date   Tue, 27 Aug 2013 12:37:24 -0400

That did just the thing.  Thank you!

Ben Hoen
LBNL
Office: 845-758-1896
Cell: 718-812-7589


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Scott Merryman
Sent: Tuesday, August 27, 2013 10:51 AM
To: [email protected]
Subject: Re: st: Repeatedly limiting the variables that are shown in the
editor window

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/

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