Re: [Rd] Help for methods

From: hadley wickham <h.wickham_at_gmail.com>
Date: Tue 19 Sep 2006 - 13:23:46 GMT

> > But you also have to be able to identify if it is a S3 function or an
> > S4 method (or an ordinary function).
>
> Why not just type ?summary, which as I said, does tell you up front?

If R can save the novice user a couple of steps in their search for help, why not do it?

Getting documentation on what the summary of an mle object does is another example. I tried:

> > The reason I find this so much of a problem is that when you are
> > teaching R, one of the first things you want to do is teach your
> > students how to use help. However, you can't teach them to use it
> > effectively until they know an awful lot about how the call semantics
> > of R.
>
> In many years of teaching S/R I have not found that to be a problem.

In my one year of teaching R I have. How do you teach people how to use help?

Hadley



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Sep 19 23:42:45 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 19 Sep 2006 - 14:30:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.