> Dirk Eddelbuettel
> on Wed, 31 Aug 2016 10:30:07 -0500 writes:
> On 30 August 2016 at 18:29, Duncan Murdoch wrote:
> I don't see evidence of a bug. There have been several
> versions of the MT; we may be using a different version
> than you are. Ours is the 1999
Dear gurus,
I was utterly surprised to learn that one of my examples illustrating the
need of match.fun() doesn't give me the expected result.
center <- function(x,FUN) FUN(x)
center(1:10, mean)
mean <- 4
center(1:10, mean)
Used to give me the error message "could not find function FUN". Now it
I am not able to replicate this:
> center <- function(x,FUN) FUN(x)
> center(1:10, mean)
[1] 5.5
> mean <- 4
> center(1:10, mean)
Error in center(1:10, mean) : could not find function "FUN"
Using a fresh install of version 3.3.1 under MacOS, and tested before with
3.3.0 with the same result.
On
Sorry, I am being a daft idiot again. Turns out that somehow I had an
object FUN in my global environment, which explains why I didn't get the
result I expected.
So please ignore my question and burn my mail on a stake.
Cheers
Joris
On Tue, Sep 6, 2016 at 3:35 PM, Adrian Dușa wrote:
> I am not
Yesterday, changes to R's development version were committed, relating
to arithmetic, logic ('&' and '|') and
comparison/relational ('<', '==') binary operators
which in NEWS are described as
SIGNIFICANT USER-VISIBLE CHANGES:
[.]
• Arithmetic, logic (‘&’, ‘|’) and