HI dear all,

When I write a .Rnw file in emacs, I use C-q to clean the latex text, some
times if the code chunk is within a latex label like \begin{figure}, the
code chunk is indented, which means the

@
<<>>=
@

became

\begin{figure}
     @
     <<>>=
     @
\end{figure}


Then this code chunk cannot be executed when I run M-n s, I have to change
it back to .

\begin{figure}
@
<<>>=
@
\end{figure}


Then I can run through it.

Is there any work around for this issues?

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]]

