I have a vector of values, and I want to use the output of "summary" in LaTeX. I understand that xtable is designed for exactly that purpose.
However ...
> values <- c(1,2,3)
> summary(values)
Min. 1st Qu. Median Mean 3rd Qu. Max.
1.0 1.5 2.0 2.0 2.5 3.0
> xtable(summary(values))
Error in xtable.table(summary(values)) :
xtable.table is not implemented for tables of > 2 dimensions
What am I doing wrong here?