[R] pasting results into Word/Excel

Thomas Lumley tlumley at u.washington.edu
Mon Apr 12 16:24:18 CEST 2004


On Sun, 11 Apr 2004, Graham M Smith wrote:

> Anders,
>
> This seems a good start, and I will try it get it to work, on of the
> issues is that the results output is more complex than simply split by
> comma eg a typical Summary output of my current data set (below)

My current approach for model summaries is to use the xtable package and
write things as HTML tables.

	-thomas

> However, I am a lot further forward than I was a few hours ago.
>
> Thanks
>
>    Section         Cave        Season         Year     BatUse
>  Black  :225   ELE    : 48   Autumn:101   1995   :217   0:233
>  Central:276   BRO    : 47   Spring:169   1996   :149   1:450
>  Iron   : 49   OCA    : 46   Summer:101   1998   : 61
>  West   :133   OGE    : 46   Winter:312   1999   : 56
>                WAT    : 46                1997   : 50
>                OCF1   : 45                1994   : 49
>                (Other):405                (Other):101
>      Number             L.H.
>  Min.   : 0.0000   Min.   : 0.0000
>  1st Qu.: 0.0000   1st Qu.: 0.0000
>  Median : 0.0000   Median : 0.0000
>  Mean   : 0.9634   Mean   : 0.9239
>  3rd Qu.: 1.0000   3rd Qu.: 1.0000
>  Max.   :23.0000   Max.   :23.0000
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle




More information about the R-help mailing list