[Rd] do.call Error for Function Not Present When Manually Called

Dario Strbenac dstr7320 at uni.sydney.edu.au
Fri Jun 13 04:00:12 CEST 2014


I had a look at the source code, and your prediction is right. There is line at the beginning of the naiveBayes function :

    Yname <- deparse(substitute(y))

When I manually edited it to list(quote(y)), it works.


More information about the R-devel mailing list