Sorry about that - I did give an example that I thought was
reproducible (it is here), but apparently wasn't.
I suspect my problem might have to do with the 'highlight' package I
am using - which I should have mentioned.
I am using the latest version of R.
remko
On Tue, 6 Sep 2011, Remko Duursma wrote:
Dear R-helpers,
when I have an R code chunk in a sweave file like this:
<<>>=
x <- 1:10
# this comment disapears
x
# this one does not!
print(x)
#mean
mean(x)
@
The first comment does not appear in the sweaved document, the second
one does. How can
Dear R-helpers,
when I have an R code chunk in a sweave file like this:
<<>>=
x <- 1:10
# this comment disapears
x
# this one does not!
print(x)
#mean
mean(x)
@
The first comment does not appear in the sweaved document, the second
one does. How can this be?
I have tried print=TRUE and keep
3 matches
Mail list logo