[Rd] How to put indentation in Rd documentation?

2011-06-25 Thread Nipesh Bajaj
Dear all, can somebody please guide me on, if I want to put some **indentation** in my .Rd documentation then, what is the correct syntax? I have tried with \tab but with that the corresponding HTML help paged is not openning, saying can not recognize \tab. Thanks for your help.

[Rd] Default values in control list of function

2011-06-25 Thread Prof. John C Nash
In building a function for a package, I'd like to set the defaults in a control list, e.g., makeg-function(parameters, eps = 1.0e-7, control=list(showwork=TRUE, rubbish=1.0e+101)){ etc. } This does not provide showwork or rubbish within the function if control() is not fully specified.

Re: [Rd] Default values in control list of function

2011-06-25 Thread Gabor Grothendieck
On Sat, Jun 25, 2011 at 9:21 PM, Prof. John C Nash nas...@uottawa.ca wrote: In building a function for a package, I'd like to set the defaults in a control list, e.g., makeg-function(parameters, eps = 1.0e-7, control=list(showwork=TRUE, rubbish=1.0e+101)){    etc. } This does not