## While in R v. 2.3.1 (the mid-July patch for Windows)
## on a Windows XP machine, this call to order() works fine...

order(1:10,decreasing = TRUE)
## [1] 10  9  8  7  6  5  4  3  2  1

## ...however, the argument name 'decreasing'
## must be typed in toto (note the missing 'g'
## in the following):

> order(1:10,decreasin = TRUE)
## Error in order(na.last, decreasing, ...) : 
##         argument lengths differ

## Isn't is standard practice to have R base functions
## accept truncated argument names as long as they are
## unambiguous?
 
Thanks,

John Thaden, Ph.D.

Confidentiality Notice: This e-mail message, including any a...{{dropped}}

______________________________________________
R-help@stat.math.ethz.ch 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.

Reply via email to