[R] R package pdf files
Duncan Murdoch
murdoch at stats.uwo.ca
Tue Mar 9 15:52:44 CET 2010
On 09/03/2010 9:28 AM, Markus Loecher wrote:
> Dear all,
> the examples in the pdf files that are automatically built from the examples
> in package help files are poorly formatted; they frequently do not wrap to
> the next line and are cut off. While there is an easy work around by looking
> at the examples in the corresponding help files, I do wonder if there is a
> way to ensure proper line wrappiong when creating a package.
>
R will keep whatever formatting the package author puts in the source,
so the author simply needs to format the source code nicely. I imagine
there are automatic tools to do that (e.g. in ESS or Eclipse). Perhaps
the manuals could say how many characters fit on a line on A4 paper.
(North Americans get slightly more width on letter-sized paper). It
looks to me as though the limit is around 68 characters, though it's
still readable if it extends into the margin a little. I tend to set my
margins to 70 characters.
Duncan Murdoch
> Thanks,
>
> Markus
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list