[R] Problem with cat() == A related question

Peng, C cpeng.usm at gmail.com
Thu Sep 16 14:38:54 CEST 2010

The question is wehter cat() can print out a matrix as it is. For example,
Let's assume that we have matrices A, B, D(= A+B), if it is possible that
cat("\n", A, "+",B,"=", D, < some control arguments >, "\n")
prints out

  matrix A +  matrix B  = matrix D

where matrices A, B, D (= A+B) should be in the form of their actual
View this message in context: http://r.789695.n4.nabble.com/Problem-with-cat-tp2538811p2542098.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list