Re: [R] Clash between alr3 and AlgDesign. (Was: Re: Second & subsequent calls to function fails. Please help debug.)

From: Duncan Murdoch <>
Date: Sun, 30 Mar 2008 09:43:10 -0400

On 30/03/2008 8:43 AM, Michael Kubovy wrote:
> Thanks, Duncan,
> I started a new session under the suspicion that packages were clashing.


> #########
> # BAD INTERACTION BETWEEN alr3 and AlgDesign
> #########
> What now?

There's not much you can do; this is up to the package authors to fix. Some advice for them:

alr3, crossdes, faraway, and HH don't use a namespace. This makes them very vulnerable to this sort of interaction, because they don't get to choose where the functions they use come from. They should add one.

In my opinion, all packages should have namespaces, and I'd like to create a default one if the author doesn't. (The default would be: import what is listed in the Depends clause, export everything.) I don't think this will happen for 2.7.0, though package.skeleton might start creating one.

Duncan Murdoch mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sun 30 Mar 2008 - 14:09:03 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 31 Mar 2008 - 13:30:26 GMT.

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

list of date sections of archive