[[ substitution (PR#358)

clive@bell-labs.com clive@bell-labs.com
Fri, 3 Dec 1999 16:45:10 +0100 (MET)


Full_Name: Clive
Version: 0.90.0
OS: Linux (RH6.0)
Submission from: (NULL) (135.104.13.164)


Probably known, but...

> z <- vector("list",4)
> z[[1]] <- function(x)x
Error in "[[<-"(*tmp*, 1, value = function(x) x) : incompatible types

(works fine in S4...)

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._