[R] Sweave - print \n ?
Werner Wernersen
pensterfuzzer at yahoo.de
Fri Mar 28 15:43:00 CET 2008
Hi,
this is probably quite stupid but I have no clue
what's wrong. Let's say I write the function
hline <- function() {
cat("\\hline \n")
}
and call hline() from within a Sweave chunk. Why is
there no carriage return after the \hline in the
resulting tex file?
if I call hline() hline() in the chunk, then I get
\hline \hline
in the tex code without a linebreak in between.
Thanks for any hints,
Werner
E-Mails jetzt auf Ihrem Handy.
More information about the R-help
mailing list