kb...@andrew.cmu.edu wrote:
Full_Name: Keith Bare
Version: 2.7.1
OS: Linux
Submission from: (NULL) (128.2.134.48)
I observed unexpected behavior attempting to use lapply to vary parameters in
generated closures. All the generated closures ran with the last parameter
value in the list.
Here's
Full_Name: Keith Bare
Version: 2.7.1
OS: Linux
Submission from: (NULL) (128.2.134.48)
I observed unexpected behavior attempting to use lapply to vary parameters in
generated closures. All the generated closures ran with the last parameter
value in the list.
Here's a simple example:
> funcs <-