Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Exporting tables as they are


From   Roy Wada <roywada@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Exporting tables as they are
Date   Wed, 15 Jul 2009 06:34:48 -0700

> "table firstyear ADOPT, c(sum population1960 count population1960)
> format(%10.0fc) col row"
> 
> Is there anyway to export this to a plaintext or otherwise readable
> 
> Dana

Try -logout- from ssc.
 
sysuse auto, clear
cap log close
logout, save(mytable) excel replace fix(1): table rep78 foreign , c(sum headroom count headroom) format(%10.0fc) col row stubwidth(25)
 
Some tricks for use with the likes of -table- commands:
-fix(1)- sets the sensitivity for fixed column parsing.
-stubwidth(25)- makes sure the first column is wide enough.
 
Roy
_________________________________________________________________
Windows Live™ SkyDrive™: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index