Re: [R] order() 'decreasing =' argument must be typed in full

From: Berwin A Turlach <>
Date: Fri 28 Jul 2006 - 20:12:55 EST

G'day John,

>>>>> "JT" == Thaden, John J <> writes:

    JT> Isn't is standard practice to have R base functions accept     JT> truncated argument names as long as they are unambiguous? No. :)

The help page of order states:


     order(..., na.last = TRUE, decreasing = FALSE)

Standard practice in R is that arguments behind ... are only matched by "exact matching", i.e., you have to specify the tag of that argument in full. Details on how arguments are matched are in the section "Argument matching" of "The R Language Definition" (and all though this is a draft, that part seems to be authoritative :) ).


        Berwin mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri Jul 28 20:26:04 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 28 Jul 2006 - 22:17:25 EST.

Mailing list information is available at Please read the posting guide before posting to the list.