[R] Re : function question

2009-03-20 Thread justin bem
Yes  because in OOP the constructor have the same name with class  Justin BEM BP 1917 Yaoundé Tél (237) 99597295 (237) 22040246 De : Bert Gunter À : Wacek Kusnierczyk ; r-help@r-project.org Envoyé le : Jeudi, 19 Mars 2009, 21h16mn 13s Objet : Re: [R] function

[R] Re : function question

2009-03-19 Thread justin bem
Functions and vectors are both objects in R, but a functions are not vectors try this foo<-function() print("I'm the foo function") is.vector(foo) as.vector(foo)  Justin BEM BP 1917 Yaoundé Tél (237) 99597295 (237) 22040246 De : Edna Bell À : r-h...@stat.mat