R-alpha: S-help (and S-help-to-R-help)

Thomas Lumley thomas@biostat.washington.edu
Thu, 22 May 1997 09:22:07 -0700 (PDT)


> Why do you need it?
> 
> Thomas Lumley has posted a nice 'S-help-to-Rhelp' script on the R-testers list
> on  Tue, 24 Sep 1996 08:53:34 -0700 (PDT).
> It contains quite a bit of implicit documentation on the S-help format.
> I've been using it a few times  more or less successfully.
> 
> YES:	This should come in the  $RHOME/etc/ directory !
> 
> - Martin

Largely because it isn't a very nice script.  The output is tolerable but
not great -- for example it doesn't use some of the proper R headings for
sections and it doesn't hyperlink the SEE ALSO section. These problems
don't really show up in the help() output but are more obvious in HTML. 

Someone (eg me in about a month from now if someone else hasn't done it
first) needs to work on improving it.  I suspect Kurt or his minions are
planning exactly that :-). 

On the related subject of regular expressions, I'm having trouble with the
\1 construction for the last matched expression
(eg  \([a-zA-Z][^:]*\):\1 which I think should match things of the form
blah:blah)
No matter how many extra \ characters I put in it doesn't work.


Thomas Lumley
-----------------------------------------------------+------
Biostatistics		: "Never attribute to malice what  :
Uni of Washington	:  can be adequately explained by  :
Box 357232		:  incompetence" - Hanlon's Razor  :
Seattle WA 98195-7232	:				   :
------------------------------------------------------------

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-