Thanks all for the responses. As Murphy would have it, after posting
my query I found the problem. I had a function defined that did some
value mapping and I had a stray line of code in the function. Actually
a legitimate line of code that was just in the wrong place.
Cheers,
Mark
On Sun, Apr 26
...@stat.math.ethz.ch
> > Subject: [R] knittr: non-numeric argument to binary operator
> >
> > knittr is giving me the above error. The code it is failing on is
> > multiplying two numeric features of a data frame. I can run the code
> > by hand and it works fine, but w
> To: r-h...@stat.math.ethz.ch
> Subject: [R] knittr: non-numeric argument to binary operator
>
> knittr is giving me the above error. The code it is failing on is
> multiplying two numeric features of a data frame. I can run the code
> by hand and it works fine, but when I try to knit my docum
Not reproducible [1], so any response likely to be a guess. However, you likely
have not put everything that is in your interactive environment into the knitr
document, so you are not working with the same data in those two environments.
[1]
http://stackoverflow.com/questions/5963269/how-to-mak
knittr is giving me the above error. The code it is failing on is
multiplying two numeric features of a data frame. I can run the code
by hand and it works fine, but when I try to knit my document, knittr
chokes on the same line.
When kitting:
Quitting from lines 161-175 (RepData_PeerAssessment2.
5 matches
Mail list logo