Statalist


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

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


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st:save codebook results in word/txt file
Date   Thu, 14 Aug 2008 17:10:40 +0100

Using -, text- here is optional in a double sense. You could use SMCL
(i.e. the default) for your log and then convert to HTML via -log2html-
from SSC. That's then readable in many other programs, including MS
Word. 

Nick 
[email protected] 

Friedrich Huebler

Save the output in a log file.

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

On Thu, Aug 14, 2008 at 11:35 AM, Man Jia <[email protected]> wrote:

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

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