Skip to content
Prev 2959 / 63424 Next

[[ substitution (PR#358)

On Fri, 3 Dec 1999 clive@bell-labs.com wrote:

            
In S 3 or 4 this works because functions are lists, in R they are not
lists. 

More worrying is 

	a<-list(one=sin,two=lm)
	a[[2]]<-sort  #fails
	a$two<-sort     #succeeds
	


Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

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