Thank you. I used capture.output(); this is fine.
________________________________ From: R. Michael Weylandt <[email protected]> Cc: R General Forum <[email protected]> Sent: Wednesday, 18 January 2012, 19:44 Subject: Re: [R] R Table 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 > 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]] > > ______________________________________________ > [email protected] 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. [[alternative HTML version deleted]]
______________________________________________ [email protected] 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.

