[R] "latex" in Hmisc: cell formating

2009-01-23 Thread Tao Shi
Hi Dieter, Thank you for pointing out the website. From the website it seems the bug has been fixed early 2008 (see http://biostat.mc.vanderbilt.edu/trac/Hmisc/changeset/582 ). So I upgraded my Hmisc package to 3.4-4, which was published on 11/3/2008 and hoped it would work. However, the pr

Re: [R] "latex" in Hmisc: cell formating

2009-01-22 Thread Dieter Menne
Tao Shi hotmail.com> writes: > ## I'm using R 2.8.0 on WinXP, Hmisc_3.4-3 > > > table1 <- matrix(10, 180,7) > > cell.format <- matrix("", ncol=7, nrow=180) > > cell.format[c(seq(3,180,6),seq(4,180,6)),] <- "color{red}" > > cell.format[c(seq(5,180,6),seq(6,180,6)),] <- "color{green}" > > > > lat

[R] "latex" in Hmisc: cell formating

2009-01-22 Thread Tao Shi
Hi list, Could you explain the error I see here? Thanks! ## I'm using R 2.8.0 on WinXP, Hmisc_3.4-3 > table1 <- matrix(10, 180,7) > cell.format <- matrix("", ncol=7, nrow=180) > cell.format[c(seq(3,180,6),seq(4,180,6)),] <- "color{red}" > cell.format[c(seq(5,180,6),seq(6,180,6)),] <- "color{gr