[Rd] Rdconv --type=Ssgm drops singleton keywords (PR#9051)

2006-06-30 Thread bill
If an Rd file has only one keyword entry then the Splus sgm file made with Rdconv --type=SSgm has no keyword entries. To reproduce: Use prompt() to make a skeleton help file R> f<-function(x)log(1+x)-log1p(x) R> prompt(f) Created file named 'f.Rd'. Edit the file and move

Re: [Rd] foo2Args()

2006-06-30 Thread Paul Gilbert
Duncan Murdoch wrote: > On 6/30/2006 5:12 PM, Paul Gilbert wrote: >> >> Duncan Murdoch wrote: >> >>> On 6/30/2006 4:19 PM, Paul Gilbert wrote: >>> I was just considering trying to clean up the arguments to a function that calls other functions, and was playin with a suggestion Ach

Re: [Rd] foo2Args()

2006-06-30 Thread Duncan Murdoch
On 6/30/2006 5:12 PM, Paul Gilbert wrote: > > Duncan Murdoch wrote: > >> On 6/30/2006 4:19 PM, Paul Gilbert wrote: >> >>> I was just considering trying to clean up the arguments to a function >>> that calls other functions, >>> and was playin with a suggestion Achim made during a conversation at

Re: [Rd] foo2Args()

2006-06-30 Thread Gabor Grothendieck
On 6/30/06, Paul Gilbert <[EMAIL PROTECTED]> wrote: > > > Duncan Murdoch wrote: > > > On 6/30/2006 4:19 PM, Paul Gilbert wrote: > > > >> I was just considering trying to clean up the arguments to a function > >> that calls other functions, > >> and was playin with a suggestion Achim made during a c

Re: [Rd] foo2Args()

2006-06-30 Thread Paul Gilbert
Duncan Murdoch wrote: > On 6/30/2006 4:19 PM, Paul Gilbert wrote: > >> I was just considering trying to clean up the arguments to a function >> that calls other functions, >> and was playin with a suggestion Achim made during a conversation at >> useR. The idea is, instead of using list(), us

Re: [Rd] foo2Args()

2006-06-30 Thread Duncan Murdoch
On 6/30/2006 4:19 PM, Paul Gilbert wrote: > I was just considering trying to clean up the arguments to a function > that calls other functions, > and was playin with a suggestion Achim made during a conversation at > useR. The idea is, instead of using list(), use a small function to > construc

[Rd] foo2Args()

2006-06-30 Thread Paul Gilbert
I was just considering trying to clean up the arguments to a function that calls other functions, and was playin with a suggestion Achim made during a conversation at useR. The idea is, instead of using list(), use a small function to construct and check arguments. My hope was to be able to do

Re: [Rd] typo in ?writeLines

2006-06-30 Thread Duncan Murdoch
On 6/30/2006 12:33 PM, Gabor Grothendieck wrote: > In ?writeLines the word 'call' should be 'calls' in the first line > under 'Details' > > If the 'con' is a character string, the function call 'file' to > > I am using: > Windows XP "R version 2.4.0 Under development (unstable) (2006-06-20 r3836

Re: [Rd] advice on arguments

2006-06-30 Thread Allen S. Rout
>> On Fri, 30 Jun 2006 16:03:29 -0400, Duncan Murdoch <[EMAIL PROTECTED]> said: > I think there are mixed feelings about whether it is a feature or a > misfeature, but it's a very old property of the S language. Oh well, understood. :) - Allen S. Rout _

Re: [Rd] advice on arguments

2006-06-30 Thread Duncan Murdoch
On 6/30/2006 10:49 AM, Allen S. Rout wrote: > Duncan Murdoch <[EMAIL PROTECTED]> writes: > >> - It breaks the partial argument matching, e.g. >> >> foo1(siz = 3) >> >> would act just like the above, instead of like >> >> foo1(size = 3) > > > Is this viewed as a feature? Having ( dataset=3 ) f

[Rd] non-central qt() near zero (PR#9050)

2006-06-30 Thread tlumley
curve(qt(x,df=20,ncp=3),from=0,to=0.4) curve(qt(x,df=20,ncp=3),from=0,to=0.004) shows discontinuities, the first at 0.00135. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle _

[Rd] typo in ?writeLines

2006-06-30 Thread Gabor Grothendieck
In ?writeLines the word 'call' should be 'calls' in the first line under 'Details' If the 'con' is a character string, the function call 'file' to I am using: Windows XP "R version 2.4.0 Under development (unstable) (2006-06-20 r38361)" __ R-devel@r-p

Re: [Rd] inconsistent matplot behaviour?

2006-06-30 Thread Martin Maechler
> "Joerg" == Joerg van den Hoff <[EMAIL PROTECTED]> > on Thu, 29 Jun 2006 14:29:26 +0200 writes: Joerg> I raised this question quite some time ago but it quitly went down the Joerg> river. I'll give it a second try (before keeping my modified version of Joerg> matplot f

Re: [Rd] [R] zero.print in print.table after adding margins

2006-06-30 Thread Martin Maechler
> "PD" == Peter Dalgaard <[EMAIL PROTECTED]> > on 29 Jun 2006 12:18:13 +0200 writes: PD> "BXC (Bendix Carstensen)" <[EMAIL PROTECTED]> writes: PD> PD> > The function addmargins() adds margins to a table, but returns a matrix. PD> > But even after converted to a table the print.zer

Re: [Rd] advice on arguments

2006-06-30 Thread Gabor Grothendieck
Here is an approach. fn.dots takes a character string, fn.name, such as a function name and a named list, dots. If fn.name is "f", say, then it returns all components of dots whose name is of the form f.somestring removing the f. prefix as well as components containing unprefixed strings. It woul

[Rd] CFP: CIC-2006, 15th International Conference on Computing, published by IEEE CS (one week reminder) (PR#9047)

2006-06-30 Thread gelbukh
15th International Conference on Computing CIC 2006 November 21 to 24, 2006 Mexico City, Mexico http://magno-congreso.cic.ipn.mx/CIC-2006 Proceedings: IEEE CS Press. Deadline: July 1 expression of interest (recommended),

Re: [Rd] advice on arguments

2006-06-30 Thread Allen S. Rout
Duncan Murdoch <[EMAIL PROTECTED]> writes: > - It breaks the partial argument matching, e.g. > > foo1(siz = 3) > > would act just like the above, instead of like > > foo1(size = 3) Is this viewed as a feature? Having ( dataset=3 ) foul the namespace for d, da, dat, data, etc... sounds mise

[Rd] plot with NAs in x and type="s" (PR#9046)

2006-06-30 Thread lor
Full_Name: René Locher Version: Version 2.3.1 (2006-06-01) OS: i386, mingw32 Submission from: (NULL) (160.85.104.70) The problem seems to occur only, when you want to plot a vector containing a NA value at position 2 and the plotting type is "s" or "S". ## start of code O3<-c(0.8,NA,0.7,1.1,0.

Re: [Rd] advice on arguments

2006-06-30 Thread Duncan Murdoch
On 6/30/2006 2:30 AM, Eric Lecoutre wrote: > Hi Ben, > > I have often asked myself such question and often > come back to the following additional options: > > (4) Use '...' and ensure encapsulated functions/calls (foo2 and foo3) also > have '...' within their arguments. There is no problem to