An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110121/baf88b1c/attachment.pl>
How to look into the asterisked function?
4 messages · Henrique Dallazuanna, jim holtman, Christofer Bogaso
You can also use:
getAnywhere("functionName")
On Fri, Jan 21, 2011 at 8:02 AM, Bogaso Christofer
<bogaso.christofer at 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 at 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?
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110121/394bcc53/attachment.pl>
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:jholtman at gmail.com]
Sent: 21 January 2011 18:20
To: Bogaso Christofer
Cc: r-help at 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.christofer at 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 at 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?