Re: [R] Accidentally replacing core R functions

2013-08-05 Thread MacQueen, Don
One could get in the habit of typing conflicts() from time to time. Or perhaps conflicts(,TRUE)$.GlobalEnv Various ways of semi-automating this come to mind, such as putting it in one's .Rprofile file. -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627

[R] Accidentally replacing core R functions

2013-08-03 Thread Rguy
I sometimes find that a function I have defined has the same name as an R core function. In most cases I have no desire to redefine the core R function and would prefer to give my function a different name. The problem is that R lets users redefine its core functions without any warning. Is there

Re: [R] Accidentally replacing core R functions

2013-08-03 Thread Duncan Murdoch
On 13-08-03 3:47 AM, Rguy wrote: I sometimes find that a function I have defined has the same name as an R core function. In most cases I have no desire to redefine the core R function and would prefer to give my function a different name. The problem is that R lets users redefine its core