Displaying 3 results from an estimated 3 matches for "r42791".
2007 Sep 19
3
delayedAssign
...promise: 0x032b31f8>
$y
<promise: 0x032b3230>
$z
<promise: 0x032b3268>
which contrary to the comment appears unevaluated. Is the comment
wrong or is it supposed to return an evaluated result but doesn't?
> R.version.string # Vista
[1] "R version 2.6.0 alpha (2007-09-06 r42791)"
2007 Sep 12
1
warning upon automatic close of connection
...nection(Lines2), header = TRUE)
z1 <- zoo(as.matrix(DF1[-1]), as.Date(DF1[,1], "%d/%m/%Y"))
z2 <- zoo(as.matrix(DF2[-1]), as.Date(DF2[,1], "%d/%m/%Y"))
both <- merge(z1, z2)
plot(na.approx(both))
> R.version.string # Vista
[1] "R version 2.6.0 alpha (2007-09-06 r42791)"
Is this annoying warning really necessary? I assume we can get rid of
it by explicitly naming and closing the connections but surely there should
be a way to avoid the warning without going to those lengths.
I would have thought that read.table opens the connection then it would
close it...
2007 Sep 20
1
copying promise
...n underlying promise y to z
# which seems closest in spirit to what we want
# but it does not work as intended
x <- 0
delayedAssign("y", x)
delayedAssign("z", substitute(y))
x <- 1
y
x <- 2
z # y
> R.version.string # Vista
[1] "R version 2.6.0 alpha (2007-09-06 r42791)"