Thanks Jim and Henrique for your replies. I would like to know why some particular functions are asterisked? What is the pros and cons while making a typical UDF asterisked? How can I make a typical function asterisked? For example print.anova() is not asterisked however print.acf() is. How can I make print.anova() asterisked?
Thanks and regards, -----Original Message----- From: jim holtman [mailto:jholt...@gmail.com] Sent: 21 January 2011 18:20 To: Bogaso Christofer Cc: r-help@r-project.org Subject: Re: [R] How to look into the asterisked function? You can also use: getAnywhere("functionName") On Fri, Jan 21, 2011 at 8:02 AM, Bogaso Christofer <bogaso.christo...@gmail.com> wrote: > Hi friends, there is methods() function to see the all available > methods for a particular function, for example: > > > >> head(methods("print")) > > [1] "print.acf" "print.anova" "print.aov" "print.aovlist" > "print.ar" "print.Arima" > > > > In this list, there are some functions which are asterisked like > print.acf(). How can I see the contents of those function? > > > > Thanks and regards, > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.