Hi dear all,

In a R code chunk, when I use data frame 's $ accessor to subset it,  I have
to put another $ in the comment, or the latex will treated as math mode?


df[df$X_STATE==6,'X_STATE'] <- 'CA'  # $


My system:

Ubuntu 10.04 64 bit, emacs 23.1.1, ess 5.11-1

Thanks

Tengfei
-- 
Tengfei Yin
MCDB PhD student
1620 Howe Hall, 2274,
Iowa State University
Ames, IA,50011-2274
Homepage: www.tengfei.name

	[[alternative HTML version deleted]]

