Re: [R] Execution halted when I use knitr and Rscript with opts_chunk

2013-03-26 Thread Yihui Xie
Yes I believe that was the problem. Same question asked here: https://github.com/yihui/knitr/issues/162#issuecomment-9017997 BTW, for future reference, this question was cross-posted at http://stackoverflow.com/questions/15640353/execution-halted-when-i-use-knitr-and-rscript-with-opts-chunk Regar

Re: [R] Execution halted when I use knitr and Rscript with opts_chunk

2013-03-26 Thread Duncan Murdoch
On 26/03/2013 12:26 PM, Marcus Nunes wrote: Hello all, I wrote a bash script in Mac OS that takes my .rnw file, knit it and then makes a .pdf. To knit my file, I'm using the command Rscript -e "library(knitr); knit('file.rnw', encoding='utf8')" and everything works fine. However, I don't want

[R] Execution halted when I use knitr and Rscript with opts_chunk

2013-03-26 Thread Marcus Nunes
Hello all, I wrote a bash script in Mac OS that takes my .rnw file, knit it and then makes a .pdf. To knit my file, I'm using the command Rscript -e "library(knitr); knit('file.rnw', encoding='utf8')" and everything works fine. However, I don't want the ## characters in my final document. I test