[R] translate nroff .d or .sgml files to .rd files

Liaw, Andy andy_liaw at merck.com
Sat Jan 8 21:23:26 CET 2005


On *nix:

~> R CMD Sd2Rd --help
Usage: R CMD Sd2Rd [options] FILE

Convert S documentation in FILE to R documentation format.

Options:
  -h, --help            print short help message and exit
  -v, --version         print Sd2Rd version info and exit
  -n                    render examples non-executable by wrapping them
                        into a \dontrun{} environment
  -x                    (S3 docs) interpret all single-quoted names
                        as code names

Email bug reports to <r-bugs at r-project.org>.

Don't know how well it might work for your situation, but probably worth a
try.

HTH,
Andy

> From: Fredrik Lundgren
> 
> Dear list,
> 
> I have some help file for S-Plus 2000 in .d and .sgml format. 
> Is there a 
> way to translate these files to .Rd files to use in an R package?
> 
> Thanks Fredrik Lundgren
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
>




More information about the R-help mailing list