[Rd] Multiple return values / bug in rpart?
Justin Talbot
justintalbot at gmail.com
Mon Aug 12 19:06:43 CEST 2013
In the recommended package rpart (version 4.1-1), the file rpartpl.R
contains the following line:
return(x = x[!erase], y = y[!erase])
AFAIK, returning multiple values like this is not valid R. Is that
correct? I can't seem to make it work in my own code.
It doesn't appear that rpartpl.R is used anywhere, so this may have
never caused an issue. But it's tripping up my R compiler.
Thanks,
Justin Talbot
More information about the R-devel
mailing list