[R] Converting R help files to S-Plus 6 sgml,html
Frank E Harrell Jr
fharrell at virginia.edu
Wed Dec 4 04:34:03 CET 2002
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
More information about the R-help
mailing list