Do you not have an editor?
Sd2Rd is designed for rough conversion, especially for Ssgml files, not
for accurate and complete conversion. It is purely for convenience.
In this case, prompt() in S-PLUS will never create the file you quote. We
don't actually know exactly what the allowed format of Ssgml files is.
On Wed, 17 Mar 2004, Jason Sinnwell wrote:
> Using R 1.8.1 on Solaris
>
> Developing an Splus and R package from the same files.
We would strongly recommend you to use .Rd files as the master copies if
you are using R tools.
> Creating an alias for multiple functions to the same file in .sgml:
> <s-topics>
> <s-topic> my.function </s-topic>
> <s-topic> print.my.function </s-topic>
> </s-topics>
>
> using R CMD Sd2Rd would convert to:
>
> \name{my.function}
> \alias{my.function}
> \name{print.my.function}
> \alias{print.my.function}
>
> which is a syntax error. Rd format would understand it if the third line
were
> not there. (R-exts 2.1.1)
>
>
>
> +--------------------------+
> |Jason P. Sinnwell, M.S. |
> |Mayo Clinic, Rochester |
> |Health Sciences Research |
> |Division of Biostatistics |
> |Harwick 7-97 |
> |507.284.3270 |
> +--------------------------+
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
>
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595