From sds at gnu.org  Wed Aug 12 22:33:31 2015
From: sds at gnu.org (Sam Steingold)
Date: Wed, 12 Aug 2015 16:33:31 -0400
Subject: [Rd] enableJIT in Rprofile leads to 'not a proper evaluation
	environment' on startup
Message-ID: <m2fv3ofdr8.fsf@gnu.org>

A commenter on SO suggested that I copy my question to R-devel
http://stackoverflow.com/q/31972325/850781

I have had

--8<---------------cut here---------------start------------->8---
library(compiler)
compiler::enableJIT(3)
--8<---------------cut here---------------end--------------->8---

in ~/.Rprofile for years; now that I upgraded to 3.2.1 I get this on startup:

--8<---------------cut here---------------start------------->8---
Error in frameTypes(env) : not a proper evaluation environment
Calls: <Anonymous> -> <Anonymous> -> makeCenv -> structure -> frameTypes
> q()
Warning message:
restarting interrupted promise evaluation 
--8<---------------cut here---------------end--------------->8---

I don't see anything relevant in NEWS.

Replacing 3 with 2 in compiler::enableJIT(3) removes the error.
However, I would prefer my loops to be compiled too.

Suggestions?


-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1348
http://www.childpsy.net/ http://dhimmi.org http://www.memritv.org
http://jihadwatch.org http://camera.org http://www.dhimmitude.org
He who laughs last thinks slowest.



[Rd] enableJIT in Rprofile leads to 'not a proper evaluation environment' on startup
Sam Steingold