Skip to content
Back to formatted view

Raw Message

Message-ID: <20021203223346.33c85306.fharrell@virginia.edu>
Date: 2002-12-04T04:34:03Z
From: Frank E Harrell Jr
Subject: Converting R help files to S-Plus 6 sgml,html

I have help files in several formats.  Up until now I have converted nroff files to S-Plus 6 sgml and html files using 

 Splus doc_to_S ... (creates .sgml file)
 Splus HINSTALL ... (creates .sgm and .html files)

I maintain master help files in R .Rd files, and for some of my functions converting from .Rd to .sgm using R CMD Rdconv --type=Ssgm ... produces better .sgm files than beginning with the nroff files, as doc_to_s or HINSTALL can mess up help files with USAGE components showing more than one function invocation.  I think I can put the output of R CMD Rdconv directly into e.g. /usr/local/splus/library/foo/.Data/__Shelp/*.sgm.  But then I don't know how to create the html entry in /usr/local/splus/library/foo/.Data/__Hhelp/*.html.  Any help or corrections to my approach would be most appreciated.

Frank
-- 
Frank E Harrell Jr              Prof. of Biostatistics & Statistics
Div. of Biostatistics & Epidem. Dept. of Health Evaluation Sciences
U. Virginia School of Medicine  http://hesweb1.med.virginia.edu/biostat