On Wed, 6 Jun 2001, Frank E Harrell Jr wrote:
> I am using R 1.2.3 on Linux Mandrake 7.2.
> I have a ton of S Nroff help files that end
> with source code typified by the following:
>
> Last S statement in an example, e.g. X <- y
> ..KW models
> ..KW regression
> ..WR
(one dot only?)
> When using R RMD Sd2Rd to create the .Rd file I get
>
> X <- y
> \keyword{models}
> \keyword{regression}
> }
>
> The } matches a { in \examples{ at the beginning
> of the example code (started in Nroff by .EX).
> When examples are extracted for R-ex the keywords
> are in the example code. Please advise on
> a workaround or patch to Sd2Rd. I hope to avoid
> editing dozens of help files.
Are you sure this is 1.2.3's Sd2Rd: 1.2.2's did that and I
fixed it? I've just tried about 20 examples in 1.2.3
without problems, so can you send me an example?
> One minor different request: In my nroff files I frequently
> insure that lines are not run together by using
> code such as
>
> ..AU
> first line
> ..sp 0
> second line
> ..PP
> second author first line
> ..sp 0
> second line
> Sd2Rd puts blank lines around the above text lines,
> and when the final html is made there are many
> <p> </p> pairs in the text resulting in doublespacing.
> If the scripts could
> be slightly changed to treat .sp 0 so that ultimately
> <p> </p> will not be the result that would be great.
Again, can you give me an example? It looks trivial to add.
--
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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._