On 16/07/2007 8:02 AM, Walter Paczkowski wrote:
> Good morning,
> 
> I'd like to look at the code for the R function head.  When I type just the 
> word head, I get back
> 
> function(x, ...)
> UseMethod("head")
> <environment: namespace:utils>
> 
> 
> I expected to see several lines of R code.  Any suggestions?

Even though it's not very informative, that really is the source for 
that function.  For instructions on how to see the more useful stuff, 
see Uwe Ligges' article in the Oct 2006 R News (available at 
http://cran.r-project.org/doc/Rnews/Rnews_2006-4.pdf).

Duncan Murdoch

______________________________________________
[email protected] 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.

Reply via email to