[R] print tables to figure in R

2007-07-16 Thread Steve Powers
Doe anyone know of a way to print nice-looking, printer-friendly tables 
directly in the R plot window? This would be very handy for examining 
preliminary results from frequently used routines. I've hunted for this 
with no luck. All anyone seems to do is export text files to excel for 
formatting, or use the print(bla) function which just calls the numbers 
at the command line. There must be a way to do this.---steve

__
R-help@stat.math.ethz.ch 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.


[R] writing complex outputs to table

2007-09-08 Thread Steve Powers
So I've come across a few cases where complex outputs from functions 
will not write to tables. The most recent case involves the TukeyHSD 
function in the stats package. If I save the TukeyHSD call and print it, 
that obviously goes fine, but when I try writing to a table, I get an 
error message that says cannot coerce class \multicomp\ into 
dataframe. What does this mean, and how do I work around it? Is there a 
more fail-safe general method of writing complex outputs to a table? 
The story here is I want to be able to call certain values from the 
TukeyHSD results to produce custom summaries.

Using R version 2.4 on Windows XP.---steve

__
R-help@stat.math.ethz.ch 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.