From justintalbot at gmail.com  Mon Aug 12 19:06:43 2013
From: justintalbot at gmail.com (Justin Talbot)
Date: Mon, 12 Aug 2013 10:06:43 -0700
Subject: [Rd] Multiple return values / bug in rpart?
Message-ID: <CALLn38OLtHRRmZTmOWvnDrqna+WN9wNmhGjQA29FoVhxOA+ghA@mail.gmail.com>

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



[Rd] Multiple return values / bug in rpart?
Justin Talbot