[R] R Table

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


My mistake: MASS::write.matrix() or utils::write.table()

Michael

On Wed, Jan 18, 2012 at 2:44 PM, R. Michael Weylandt
<michael.weylandt at gmail.com> wrote:
> 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