Skip to content
Prev 140682 / 398506 Next

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

Hi Duncan,

Yes, I came to realize that ifelse was not the way to go. Here is how  
I dealt with it:

if(sum('AlgDesign' == (.packages())) > 0) detach('package:AlgDesign')

It requires me (and my students) to learn only the (.packages())  
construct (and avoid knowing anything about search(), match() or pos).  
As a former student of mine (who has long since gone into business)  
once said: "I avoid learning experiences like the plague."

Thanks again,
Michael
On Mar 30, 2008, at 1:36 PM, Duncan Murdoch wrote:

            
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766
WWW:    http://www.people.virginia.edu/~mk9y/