Re: [Rd] Problem with formatted xtable in R 2.5.0

2007-04-27 Thread Pfaff, Bernhard Dr.
>I get the same behaviour in 2.4.1 with xtable 1.4-3. Have you >perhaps updated 'xtable' as well as R and are blaming R for an >'xtable' >change? As ?print.xtable says > > From version 1.4-3, all non-numeric columns are >sanitized, and all > LaTeX special characters are sanitised fo

Re: [Rd] Problem with formatted xtable in R 2.5.0

2007-04-27 Thread Prof Brian Ripley
On Fri, 27 Apr 2007, Pfaff, Bernhard Dr. wrote: > Dear R-Devel subscriber, > > I encountered the following problem for tex-formatted table with > xtable(). Suppose I do want the following matrix as a table in LaTeX: > > library(xtable) > a11 <- "\\color{green}\\textbf{big green}" > a21 <- "\\colo

[Rd] Problem with formatted xtable in R 2.5.0

2007-04-27 Thread Pfaff, Bernhard Dr.
Dear R-Devel subscriber, I encountered the following problem for tex-formatted table with xtable(). Suppose I do want the following matrix as a table in LaTeX: library(xtable) a11 <- "\\color{green}\\textbf{big green}" a21 <- "\\color{red}\\textbf{big red}" a12 <- "\\color{green}green" a22 <- "\