Closed hadley closed 9 years ago
Maybe all you need to do is remove \SweaveOpts{concordance=TRUE}
?
Also it might be worthwhile checking in an RStudio project file?
It should be in knitr format, and I don't see \SweaveOpts{concordance=TRUE}
either in my local version or on github.
re: .Rproj file, I was not sure how much embarrassing code history was going to come along with that. What's the benefit in this instance?
Oh hmmm, maybe RStudio added it when I tried to knit it?
There's nothing in the .Rproj apart from project settings, so it's generally a good idea to include. In this instance you could make sure the project settings defaulted to using knitr, not sweave.
It doesn't work with sweave, and with knitr, it gives a message asking you to run
Sweave2knitr