From jlindsey@alpha.luc.ac.be  Fri Dec 17 08:10:55 1999
From: jlindsey@alpha.luc.ac.be (jlindsey@alpha.luc.ac.be)
Date: Fri, 17 Dec 1999 09:10:55 +0100 (MET)
Subject: lists of functions (PR#377)
Message-ID: <199912170810.JAA26661@pubhealth.ku.dk>

The following works:

list(function() 1, function() 2)

but this does not:

z <- list()
zz[[1]] <- function() 1

giving an "incompatible types" error.
The second procedure works with other types of objects.
Intel RH5.2 with R90.1.
  Jim

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


lists of functions (PR#377)
jlindsey@alpha.luc.ac.be