Skip to content
Prev 27474 / 63424 Next

Pb with lapply()

I just checked and the
code that previously triggered the promises in lists
bug seems to work now so I guess it is a different
problem.

# code below previously triggered errors but now works
# R 2.6.2 (2008-01-26 r44181) on Vista
f <- function(x) environment()
z <- as.list(f(7))
dput(z)
structure(list(x = 7), .Names = "x")
z[[1]] == 7
force(z[[1]]) == 7
On Jan 31, 2008 2:33 PM, <hpages at fhcrc.org> wrote: