[Rd] Help Documentation (PR#6715)

hb at maths.lth.se hb at maths.lth.se
Mon Mar 29 09:24:42 CEST 2004


Dear all,=20

without taking sides here, I see two major advantage of keeping the
redundancy in any documentation minimal. First, it makes the
maintanance of the documentation as simple as possible. This in turn,
minimizes the risk for getting inconsistent documentation in new
updates. Otherwise, someone has to have a really good overview and
know where to update when, say, one default argument is updated (or we
have to live with incorrect documentation).

One possible solution to a documentation for beginners is to have a
separate package just for the documentation. In that package you can
document ?exit etc . Load the package and help.search("exit") will
find "anything" regard exitting. To get started with this you have to
know how to write Rd documentation (very similar to LaTeX). You'll
find details in the help; type help.start().=20

Cheers

Henrik

> -----Original Message-----
> From: r-devel-bounces at stat.math.ethz.ch=20
> [mailto:r-devel-bounces at stat.math.ethz.ch] On Behalf Of Gabor=20
> Grothendieck
> Sent: den 29 mars 2004 01:44
> To: ivo.welch at yale.edu
> Cc: R-bugs at biostat.ku.dk; r-devel at stat.math.ethz.ch
> Subject: RE: [Rd] Help Documentation
>=20
>=20
>=20
>=20
> I think many people share your view and are aghast at the=20
> reception that some well-intentioned posts receive.  There=20
> have been past discussions on this and many people feel the
> way you and I do. =20
>=20
> Just to head off another round, let me acknowledge that=20
> there appears to be multiple viewpoints and although hard=20
> to believe by myself, there actually is a contingent that=20
> views what I see as insulting responses as appropriate.
>=20
> ---
> From:   ivo welch <ivo.welch at yale.edu>
>=20
> ladies and gents:
>=20
> I have posted a couple of simple questions recently. As often
happens=20
> to novices, the information was there somewhere, even in front of my

> eyes, and I just did not see it. I looked in docs that seemed=20
> to me to=20
> be the right place for this particular information, but did=20
> not find it.=20
> There is no question: mea culpa, and everything is documented=20
> somewhere=20
> in R. (Worst comes to worst, it is documented in the source.)
>=20
> But here comes my complaint: I tried to help by documenting=20
> where I got=20
> lost, and by suggesting simple one-liners for the=20
> documentation, which=20
> would provide additional cross-references to what I was looking for.

> The cost of adding additional brief sentences to the help must be=20
> relatively small, and the help to stuck novices may be=20
> considerable in=20
> reducing the learning curve. For my specific examples, I suggested a

> reference to q() in ?exit, and a "select=3D -c(v1,v2)" to ?subset.
>=20
> Clearly, the information is redundant. (Of course, in a sense, all=20
> documentation is redundant.) The goal of good documentation should
be=20
> to help novice users who do not know the answer. The goal=20
> should not be=20
> minimum redundancy in the help files. Being fairly new to R, I see=20
> difficulties where Brian Ripley and other experts and developers no=20
> longer do. I bet that if I wonder about the answers, I am more than=20
> likely not alone. In fact, I think it would really make sense to=20
> improve the docs by studying where novices get stuck.
>=20
> I was told by Brian to stop sending such suggestions, in order not
to=20
> clutter the R bug report list. OK, I can save my time; I just=20
> wanted to=20
> help. But, for others' sake, please reconsider the policy of not=20
> gearing the internal R documentation for novices like myself.
>=20
> I will butt out here.
>=20
> regards,
>=20
> /ivo
>=20
> PS: Incidentally, the R help seems a little schizophrenic. For=20
> example, Brian Ripley is the most helpful source for learning R
(both=20
> books and posts), and I am rather grateful for it. I just do not=20
> understand why, at the same time, he seems to be annoyed=20
> while fielding=20
> questions of the r-help post-list. He is not the only individual who

> likes to help, but grudgingly so...
>=20
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list=20
> https://www.stat.math.ethz.ch/mailma> n/listinfo/r-devel
>=20
>=20



More information about the R-devel mailing list