I'm quite new to both R and LaTeX, but I'm trying to work with both, using Sweave.
I know you can comment in R using # and in LaTeX by using %. However, when I write a #comment in an R-chunk (between <<>>= and @) I get an error:
Error: 'filename.Rnw' is not ASCII and does not declare an encoding
Execution halted
I also tried it with % but that obviously didn't work (same error btw).
How can I put a comment in an R-chunk?
