Thanks for your suggestions. I tried what you have suggested. I am trying to find the source code of function errorest in the R package ipred (I guess it's in CRAN, not bioconductor), I can only find:

function (formula, data, ...) 
UseMethod("errorest", data)
<environment: namespace:ipred>

no matter what I type errorest, or ipred:::errorest, 
if I type errorest(), there is some error message. 

James

Joern Toedling <toedling@ebi.ac.uk> wrote: And if you want to see the source code of  a function that is not 
exported in a package's namespace, you have to type the function's name 
without parentheses, as Niki pointed out, but precede it with the 
package name and three colons, for example:
Biobase:::matchpt

Regards,
Joern

r.athanasiadou wrote:
> You mean typing the name of the function without parentheses or anything
> else following?(after you have called the appropriate package of course)
>
> niki
>
> ICB
> Swann Building
> The King's Buildings
> University of Edinburgh
> Edinburgh, EH9 3JR
> Scotland
> UK
>
> tel:(0044)0131-6507072
> fax:(0044)0131-6505379
> R.Athanasiadou@sms.ed.ac.uk
>
>
> -----Original Message-----
> From: bioconductor-bounces@stat.math.ethz.ch
> [mailto:bioconductor-bounces@stat.math.ethz.ch] On Behalf Of James Anderson
> Sent: 17 June 2007 17:00
> To: bioconductor
> Subject: [BioC] how to see the content of a R function in a package?
>
> There seems to be a R command for doing this, I can not remember it though. 
>
> Thanks,
>
> James
>
>

_______________________________________________
Bioconductor mailing list
Bioconductor@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/bioconductor
Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor


 
---------------------------------


	[[alternative HTML version deleted]]

