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: sjlog with variable names containing underscores


From   Venable <[email protected]>
To   [email protected]
Subject   Re: st: sjlog with variable names containing underscores
Date   Sun, 14 Nov 2010 16:28:10 -0500

Maarten, thanks very much for your suggestion. I will give it a try.
One question:

On Sun, Nov 14, 2010 at 12:12 PM, Maarten buis <[email protected]> wrote:

>
> You can replace all these occurances of _ in Stata using
> the -filefilter- command, like so:
>
> *--------------------- begin example -------------------
> cd c:\temp
> use http://www.ats.ucla.edu/stat/stata/notes/hsb2, clear
> clonevar race_clone = race
> sjlog using desc_hsb2, replace
> describe
> sjlog close, replace
>
> filefilter desc_hsb2.log.tex desc_hsb2_.log.tex, ///
>    from("_") to("\BS_") replace
> *---------------------- end example ---------------------
>

Why is the argument of to() "\BS_" rather than "\_"?

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index