Re: [Rd] Byte code compile (not) helpful in R3.0.2 -- Fixed.

2013-11-03 Thread Prof J C Nash (U30A)
Thanks. I should not try adjusting code after some hours of proofreading. Making that change gave a suitable time difference. Best, JN On 13-11-03 03:46 PM, Henrik Bengtsson wrote: > tfor <- cmpfun(tfor) > twhile <- cmpfun(twhile) > > /Henrik > > > On Sun, Nov 3, 2013 at 11:55 AM, Prof J C

Re: [Rd] Byte code compile not helpful in R3.0.2

2013-11-03 Thread Henrik Bengtsson
tfor <- cmpfun(tfor) twhile <- cmpfun(twhile) /Henrik On Sun, Nov 3, 2013 at 11:55 AM, Prof J C Nash (U30A) wrote: > My bad to not give details. I'm comparing (though not quite directly) to > results in the posting > http://rwiki.sciviews.org/doku.php?id=tips:rqcasestudy. > > What prompted the

Re: [Rd] Byte code compile not helpful in R3.0.2

2013-11-03 Thread Prof J C Nash (U30A)
My bad to not give details. I'm comparing (though not quite directly) to results in the posting http://rwiki.sciviews.org/doku.php?id=tips:rqcasestudy. What prompted the query was a write up of "for" versus "while" loops, where there was a speedup using compiler for one of these. I had the example

Re: [Rd] Byte code compile not helpful in R3.0.2

2013-11-03 Thread Duncan Murdoch
On 13-11-03 2:15 PM, Prof J C Nash (U30A) wrote: I had a bunch of examples of byte code compiles in something I was writing. Changed to 3.0.2 and the advantage of compiler disappears. I've looked in the NEWS file but do not see anything that suggests that the compile is now built-in. Possibly I'v