From p.dalgaard@biostat.ku.dk  Fri Dec 17 11:50:27 1999
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 17 Dec 1999 12:50:27 +0100
Subject: lists of functions (PR#377)
In-Reply-To: jlindsey@alpha.luc.ac.be's message of "Fri, 17 Dec 1999 09:10:55 +0100 (MET)"
References: <199912170810.JAA26661@pubhealth.ku.dk>
Message-ID: <x23dt1wzuk.fsf@blueberry.kubism.ku.dk>

jlindsey@alpha.luc.ac.be writes:

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

Same as Clive Loaders #358 (Darn! I think we almost had a fix for that
one, but forgot to apply it. Thomas?)

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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)
Peter Dalgaard BSA