[R] how to print table with more columns per row?

ryszard.czerminski at novartis.com ryszard.czerminski at novartis.com
Thu Jul 20 17:29:58 CEST 2006


When printing a table it is broken at some point (depending how long are 
the associated names)
>>> see example below.

Is there a way to control number of columns being printed for a given 
chunk of the table?

Best regards,
Ryszard

> z5
        AAAAAAA BBBBBBB CCCCCCC DDDDDDD EEEEEEE FFFFFFF GGGGGGG HHHHHHH 
IIIIIII
AAAAAAA    1.00   -0.69   -0.54   -0.88      NA      NA      NA      NA 
-0.88
BBBBBBB   -0.69    1.00    0.65    0.82      NA      NA      NA       1 
0.83
CCCCCCC   -0.54    0.65    1.00    0.49      NA      NA      NA      NA 
0.94
DDDDDDD   -0.88    0.82    0.49    1.00      NA      NA      NA       1 
0.90
EEEEEEE      NA      NA      NA      NA      NA      NA      NA      NA  
NA
FFFFFFF      NA      NA      NA      NA      NA      NA      NA      NA  
NA
GGGGGGG      NA      NA      NA      NA      NA      NA      NA      NA  
NA
HHHHHHH      NA    1.00      NA    1.00      NA      NA      NA       1  
NA
IIIIIII   -0.88    0.83    0.94    0.90      NA      NA      NA      NA 
1.00
JJJJJJJ      NA      NA      NA      NA      NA      NA      NA      NA  
NA
KKKKKKK    0.05    0.21    0.11   -0.11      NA      NA      NA       1  
NA
LLLLLLL    0.73   -0.68   -0.16   -0.91      NA      NA      NA      -1 
-0.35
        JJJJJJJ KKKKKKK LLLLLLL
AAAAAAA      NA    0.05    0.73
BBBBBBB      NA    0.21   -0.68
CCCCCCC      NA    0.11   -0.16
DDDDDDD      NA   -0.11   -0.91
EEEEEEE      NA      NA      NA
FFFFFFF      NA      NA      NA
GGGGGGG      NA      NA      NA
HHHHHHH      NA    1.00   -1.00
IIIIIII      NA      NA   -0.35
JJJJJJJ      NA      NA      NA
KKKKKKK      NA    1.00    0.24
LLLLLLL      NA    0.24    1.00
>

CONFIDENTIALITY NOTICE\ \ The information contained in this ...{{dropped}}



More information about the R-help mailing list