Dear List,

First off, my deepest gratitude to the Sweave developers: this tool has
improved my quality greatly.

A question in my work I use \Sexpr{} statements scalar values and the xtable
package for all manner of tables.  What I'd like to do is to use a vector
inline, rather than a whole separate table.   Something like:

%%%%%%%%%%%%%%%% begin code
% Latex junk

% Sweave block:
<<>>=
covmat <- cov(matrix(runif(100),ncol=3))
@

% back to Latex, typing up a report, my homework, etc.
The first column of the covariance matrix is $(\Sexpr{covmat[1,1]},
\Sexpr{covmat[2,1]}, \Sexpr{covmat[3,1]})^T$

%%%%%%%%%%%%%%%%% end code

but, of course, this is poor way of going about it.  Any suggestions?

Thanks in advance.

Regards,

Kyle

	[[alternative HTML version deleted]]


