<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Peter,<div><br></div><div>the widths you suggested is pretty exact and it works fine.</div><div>The only problem that occurs is that if a new argument starts at one </div><div>of the last characters of a usage line strwrap seems to keep that argument on </div><div>the same line. The break is only introduced afterwards. This seems to be strwrap</div><div>behavior, but it would certainly be more pretty to change that.</div><div><br></div><div>I have another question concerning @example:</div><div>When I use multiple lines code, like e.g.</div><div><div><br></div><div>#' addConstruct(bell2010, "left pole", "pole right", </div><div>#'<span class="Apple-tab-span" style="white-space:pre">                                </span>c(3,1,3,2,5,4,6,3,7,1))</div></div><div><br></div><div>the .Rd file will look like:</div><div><br></div><div><div>addConstruct(bell2010, "left pole", "pole right", </div><div>c(3,1,3,2,5,4,6,3,7,1))</div></div><div><br></div><div>i.e. the beginning blanks are deleted. It would be nice if the blanks at the beginning of a line would not</div><div>be trimmed in order to be able to format this part.</div><div><br></div><div>Bests,</div><div>Mark</div><div><br></div><div><br><div><div>Am 04.05.2011 um 21:05 schrieb Peter Danenberg:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Quoth Mark Heckmann on Prickle-Prickle, the 51st of Discord:<br><blockquote type="cite">The number characters roxygen puts in each line of the .Rd usage<br></blockquote><blockquote type="cite">section before setting a line break is too long, I think.<br></blockquote><br>Hadley added a `strwrap' filter to usage specifying only the exdent:<br><br> strwrap(..., exdent=4)<br><br>The width parameter is 0.9 * getOption("width") (i.e. 72 characters)<br>by default; playing around with e.g. options(width=76) might help us<br>find a suitable default.<br><br>Do you mind finding a suitable default; or maybe sending me a minimal<br>example to work with?<br></div></blockquote></div><br><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>–––––––––––––––––––––––––––––––––––––––<br><div><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><font class="Apple-style-span" color="#5C5C5C"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; "><font class="Apple-style-span" face="Verdana">Mark Heckmann</font></span></font></font></div><div><div><font class="Apple-style-span" color="#5C5C5C"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; "><font class="Apple-style-span" face="Verdana">Blog: </font></span></font></font><a href="http://www.markheckmann.de/"><font class="Apple-style-span" color="#5C5C5C"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; "><font class="Apple-style-span" face="Verdana">www.<font class="Apple-style-span" color="#000000">markheckmann</font>.de</font></span></font></font></a></div><div><font class="Apple-style-span" color="#5C5C5C"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; "><font class="Apple-style-span" face="Verdana">R-Blog: <span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; "><a href="http://ryouready.wordpress.com/"><font class="Apple-style-span" color="#5C5C5C"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; "><font class="Apple-style-span" face="Verdana">http://<font class="Apple-style-span" color="#000000">ryouready.wordpress</font>.com</font></span></font></font></a></span></font></span></font></font></div><div><font class="Apple-style-span" color="#5C5C5C" face="Verdana"><br></font></div></div></div></div></span></div></span></div></span></div></div></div></div></span></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></body></html>