Thanks Roy, it works
------------------------------------------------
Tamas Bartus, PhD
Associate Professor, Institute of Sociology and Social Policy
Corvinus University, Budapest
1093 Budapest, Közraktár utca 4-6.
Phone: +36-1-482-7301
Fax: +36-1-482-7348
Homepage: http://web.uni-corvinus.hu/bartus
----- Eredeti üzenet -----
Feladó: Roy Wada <[email protected]>
Dátum: Csütörtök, Január 28, 2010 7:22 du
Tárgy: Re: st: file write and latex table
Címzett: [email protected]
> > How could I force stata to write \\ instead of \?
> >
> > Tamas
>
> I am sure there are many ways, but this works for me:
>
> tempname fh
> file open `fh' using myfile.txt, write replace
> file write `fh' "<text> `=char(92)'`=char(92)'" _n
> file close `fh'
> *
> * 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/
*
* 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/