[R] View code of function

Wee-Jin Goh wjgoh at brookes.ac.uk
Fri Nov 24 07:57:31 CET 2006


Hi,

Just type mean.default without the () and the code of the function  
will be displayed.

Wee-Jin

On 24 Nov 2006, at 06:31, Lize van der Merwe wrote:

> Dear list
>
> I need to see the code behind a function.   I used to be able to  
> see the
> code behind a function by typing e.g. mean().  Now I get the error  
> message:
> Error in mean.default() : argument "x" is missing, with no  
> default.   Please
> advise.
>
> Regards
>
> Lize van der Merwe
>
>
>
>
>
>
>
>
> -- 
> This e-mail and its contents are subject to the
> South African Medical Research Council
> e-mail legal notice available at http://www.mrc.ac.za/about/ 
> EmailLegalNotice.htm
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.



More information about the R-help mailing list