Re: [Rd] UTF8 markdown vignette

2014-12-17 Thread Yihui Xie
For the record, I saw a change had been made in R-devel: https://github.com/wch/r-source/commit/d53b098 (Thanks, Duncan) Meanwhile, I also made a change in knitr to assume UTF-8 unless R passes an encoding to the vignette engine: https://github.com/yihui/knitr/commit/23c6c8e2 Both will solve the or

Re: [Rd] vapply definition question

2014-12-17 Thread Mick Jordan
On 12/16/14, 9:54 PM, Martin Morgan wrote: Hi Mick -- You can see that the source code doesn't contain '...' in the final line ~/src/R-devel/src/library/base/R$ svn annotate lapply.R | grep Internal\(l 38631 ripley .Internal(lapply(X, FUN)) and that it's been there for a long time

[Rd] vapply definition question

2014-12-17 Thread Radford Neal
> so I guess you're looking at a modified version of the function... The > implementation detail is in the comment -- FUN(X[i], ...) is evaluated in the > frame of lapply. > > Martin Morgan You may find it interesting that in the latest version of pqR, lapply is made faster in the case where no