[R] R Table

R. Michael Weylandt michael.weylandt at gmail.com
Wed Jan 18 20:44:52 CET 2012


Capture in what file format / device?

If you want a plain text log, sink() or capture.output() probably will
do it. MASS::write.table() might also help.

I believe library(Hmisc) has some functions for converting to LaTeX
tables as well, but I haven't used those myself.

Michael

On Wed, Jan 18, 2012 at 2:41 PM, Ajay Askoolum <aa2e72e at yahoo.co.uk> wrote:
> Given a table with colnames and rownames, print(mytable) displays the table nicely formatted.
>
> How can I capture all of what is displayed as a character matrix?
> Thanks.
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list