Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st:save codebook results in word/txt file


From   "Friedrich Huebler" <[email protected]>
To   [email protected]
Subject   Re: st:save codebook results in word/txt file
Date   Thu, 14 Aug 2008 11:41:49 -0400

Mandy,

Save the output in a log file.

. set more off
. sysuse auto
. log using codebook.txt, text
. codebook
. log close

Friedrich


On Thu, Aug 14, 2008 at 11:35 AM, Man Jia <[email protected]> wrote:
>
> Hi all,
>
> I was wondering if anyone could help me with a simple question how to
> save the result of codebook command in a word or txt document.
>
> That is, I use the command --codebook--to get the codebook for all the
> variables. I like to save the result in a word document. I know I could
> copy and past from the result window. But for a large data set this
> takes long time. So I was wondering if there's simple way to do
> this,like--outreg--for --reg--result.
>
> Thanks!
> Mandy jia
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index