2008/12/6 Gabor Grothendieck <[EMAIL PROTECTED]>:
> The missing item is lazy evaluation. Try forcing the evaluation of i
> and then repeat:
>
> makeF <- function(i) { force(i); function() i }
Tnx! That works! Sometimes lazy evaluation + side effects is just too
much (complicated) for me:D
bests,
The missing item is lazy evaluation. Try forcing the evaluation of i
and then repeat:
makeF <- function(i) { force(i); function() i }
On Sat, Dec 6, 2008 at 9:22 PM, Antonio, Fabio Di Narzo
<[EMAIL PROTECTED]> wrote:
> Hi guys.
> I recently stumbled on an unexpected behavior of R when using
> f
2 matches
Mail list logo