--
JoAnnAlvarez - 20 May 2010
Suppose you are using R to conduct your analysis in conjunction with Sweave to get a nice-looking report. Suppose further that you are making some tables that are automatically produced from an R data frame by using the latex() function in Hmisc. This may also work in xtable. You'll need to use the colortbl package along with the color package.
\usepackage{colortbl, color}
<<results=tex>>=
rownames <- c("Rowname", "Random Row Name", "\\rowcolor[gray]{.5}Row name of the row you want to highlight", "Yet another Row name")
#Suppose "dataframe" is the name of your data frame from which you want to make a table.
row.names(dataframe) <- rownames
latex(dataframe, file = "")
@
This should do the trick!