[R] *.Rd: line breaks incorrect (?) \examples

Christian Hoffmann christian.hoffmann at wsl.ch
Mon Sep 13 14:05:48 CEST 2004


Hi all,

I am using

R, Version 1.9.1 alpha (2004-05-25), ISBN 3-900051-00-3

on

SunOS fluke 5.9 Generic_117171-02 sun4u sparc SUNW,Sun-Fire-480R

Version: sparc-sun-solaris2.9
arch = sparc
os = solaris2.9
system = sparc, solaris2.9
status = alpha
major = 1
minor = 9.1
year = 2004
month = 05
day = 25
language = R
Search Path:
  .GlobalEnv, package:methods, package:stats, package:graphics, 
package:utils, package:lattice, package:CWHtool, package:CWHplot, 
package:CWHstring, package:CWHprint, package:CWHmath, Autoloads, 
package:base

In the guide to writing packages I did not find warnings concerning the 
following:

- long lines in \examples{} and \author{} are not folded (broken) in the 
resulting *.ps.

- If I want to write a comment in \examples{} using #, like:
   \examples{
   executable stuff  # comment   \emph{}  \code{\link{}}
   }
   then \emph{} and \code{\link{}} are transformed into a queer sequence 
of characters.   Question: where are \emph{}  \code{\link{}} allowed?

- More general: Where are TeX constructs allowed? $x_{nn}
- Where are TeX constructs mandatory?

- Why are pck.Rcheck/pck-manual.aux, .dvi, and .log generated by runnung 
R CMD build etc., but not pck.Rcheck/pck-manual.ps?    However, 
pck.Rcheck/pck-Examples *is* generated.

Thank you for considering
Christian
-- 
Dr.sc.math.Christian W. Hoffmann, 
http://www.wsl.ch/staff/christian.hoffmann
Mathematics + Statistical Computing   e-mail: christian.hoffmann at wsl.ch
Swiss Federal Research Institute WSL  Tel: ++41-44-73922-   -77  (office)
CH-8903 Birmensdorf, Switzerland             -11(exchange), -15  (fax)




More information about the R-help mailing list