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@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.


______________________________________________
R-help@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.

Reply via email to