Displaying 1 result from an estimated 1 matches for "r39463".
Did you mean:
139463
2006 Sep 26
1
Bug in formals<-
I think this is new since a previous version of R:
> h <- function(x, trantab) trantab[x]
> w <- 6:4
> names(w) <- c('cat','dog','giraffe')
> w
cat dog giraffe
6 5 4
>
> formals(h) <- list(x=numeric(0), trantab=w)
> h
function (x = numeric(0), trantab = c(6, 5, 4))
trantab[x]
You can see that the names