On Mar 11, 2011, at 09:55 , Håvard Rue wrote:

....
> 
> since NULL elements are removed from the list, and that A$a auto-expand
> to A$aa, my error appeared.
> 
> To me, this seems not a feature I want in order to have a robust
> program. 
> 

Partial matching of arguments and list item names is a feature long regretted 
by its inventors, but too late to remove. Too many people doing 
chisq.test(...)$exp etc.

> Is there any option to turn this ''feature'' off? 

No. It's not the sort of thing you want to control with an option. It's a 
nightmare when you think of package development. For one thing, your code would 
break if someone turned the option back on.

-- 
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd....@cbs.dk  Priv: pda...@gmail.com

______________________________________________
R-help@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.

Reply via email to