[R] Writing Rd files

From: Nipesh Bajaj <bajaj141003_at_gmail.com>
Date: Sun, 06 Mar 2011 19:33:03 +0530


Hi all, I have created a package and now into writing it's help files. However I am having problem on, how to put a 'new line' in any statement of the help file? For example please consider following:

\title{

This is a new function and this function will calculate the mean. }

However I want to write it is this way:

\title{

This is a new function & and,
 this function will calculate the mean.
}

I have tried using: "\n" or "\\" however could not achieve what I want. Can somebody please help me on how to tell that, break here and go to the next line?

Thanks,



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. Received on Sun 06 Mar 2011 - 14:05:40 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 06 Mar 2011 - 18:00:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive