In a .Rnw (Sweave) file, if I go to Bundles > latex > TeXcount, I get the following in the pop up box:
[l;3lm!!! Encountered }without corresponding { !!![Om [l;3lm!!! Encountered }without corresponding { !!![Om [l;3lml!! Encountered iwithout corresponding { !!![Om [l;3lm!!! Encountered iwithout corresponding { !!![Om [l;3lm!!! Encountered iwithout corresponding { !!![Om [l;3lm!!! Encountered iwithout corresponding { !!![Om [l;3 lm!!! Encountered iwithout corresponding {. !!![Om [l;3lm!!! Reached end offile while waiting for }. !!![Om [l;3lm!!! Reached end offile while waiting for S !!![Om [l;3lm!!! Reached end offile while waiting for }. !!![Om [l;3lm!!! Reached end offile while waiting for }. !!![Om [l;3lm!!! Reached end offile while waiting for S !!![Om [l;3lml!! Reached end offile while waiting for }. !!![Om
However, TeXcount works fine in a .tex file. So it looks like the problem occurs because the .Rnw contains R code.
Is there a way to get TeXcount working in a .Rnw file?
Thanks Ross
On 17 Feb 2014, at 3:18, Ross Ahmed wrote:
In a .Rnw (Sweave) file, if I go to Bundles > latex > TeXcount, I get the following in the pop up box: […]
Is there a way to get TeXcount working in a .Rnw file?
The action is calling texcount.pl: http://app.uio.no/ifi/texcount/
From a quick skim, it does not seem to have the capability of also parsing embedded R code.