m2l converts a matrix into TeX code with square brackets.
m2l(matrix)
matrix
a matrix
TeX code of the matrix in 'Sweave' file.
rm2l, m22l, rcm2l, cm2l
rm2l
m22l
rcm2l
cm2l
a <- matrix(sample(c(-10:10),12),nrow =3,byrow=TRUE) m2l(a)