From michael.weylandt at gmail.com  Mon Mar 19 21:00:39 2012
From: michael.weylandt at gmail.com (R. Michael Weylandt)
Date: Mon, 19 Mar 2012 16:00:39 -0400
Subject: [Rd] enableJIT(3) with Primitives
Message-ID: <CAAmySGO4mGfYU=aaSN6V7exKWo3YDAEcM4M6xeFDRhevRZt_4g@mail.gmail.com>

I'm not sure if this is a bug or expected behavior, but I don't see
anything in the documentation that explains it, so I thought I'd
mention it:

~ michaelweylandt$ R -q --vanilla

library(compiler)
enableJIT(3)

`+` # Throws an error
`+` # Throws a warning
`+` # Prints the primitive as expected

sessionInfo()

R version 2.14.1 (2011-12-22)
Platform: i386-apple-darwin9.8.0/i386 (32-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] compiler  stats     graphics  grDevices utils     datasets  methods
[8] base

It seems to be independent of which primitives are used and I get the
same behavior with r58785 built locally.

Michael



[Rd] enableJIT(3) with Primitives
R. Michael Weylandt