Message-ID: <136181.34776.qm@web23001.mail.ird.yahoo.com>
Date: 2008-03-28T14:43:00Z
From: Werner Wernersen
Subject: Sweave - print \n ?
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.