There is actually another approach which can do the job automatically; see the function reformat_code() in R2roxygen (remember to back up your Rd files before you use it).
If you document your package with roxygen2, things can be even easier -- just call the function rab() to roxygenize and reformat code. This is what I do with all my packages. Regards, Yihui -- Yihui Xie <xieyi...@gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Mon, Apr 30, 2012 at 10:37 PM, Joshua Wiley <jwiley.ps...@gmail.com> wrote: > Break the line :) > > On Mon, Apr 30, 2012 at 12:34 PM, Zeeberg, Barry (NIH/NCI) [E] > <zeebe...@mail.nih.gov> wrote: >> I am creating a package, and a rather long usage line for one function >> becomes truncated in the generated .pdf manual. Is there a way that I can >> prevent that truncation? ______________________________________________ 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.