Re: [R] Masked from package

2014-09-25 Thread Duncan Murdoch
On 25/09/2014 11:46 AM, Jeff Newmiller wrote: No, masking does not imply inheritance. Simply that "foo" now refers to a different function, so you have to use "oldpkg::foo" if you want to get at the old function from your normal working environment. I haven't read the book (?), but I'd guess

Re: [R] Masked from package

2014-09-25 Thread Jeff Newmiller
No, masking does not imply inheritance. Simply that "foo" now refers to a different function, so you have to use "oldpkg::foo" if you want to get at the old function from your normal working environment. Note that packages that call "foo" will continue to find the versions they intended to call

Re: [R] Masked from package

2014-09-25 Thread Rich Shepard
On Thu, 25 Sep 2014, MacQueen, Don wrote: And to answer the “What do I read ...?” question help.search('masked’) returns quite a few things on my system, and the one you want is Don, et al.: Further research led me to re-read the beginning of "Analyzing Compositional Data with R" where the

Re: [R] Masked from package

2014-09-25 Thread MacQueen, Don
And to answer the “What do I read ...?” question help.search('masked’) returns quite a few things on my system, and the one you want is base::conflicts Search for Masked Objects on the Search Path Then of course ?conflicts Also, having seen those messages, you can do find(‘norm

Re: [R] Masked from package

2014-09-24 Thread Rich Shepard
On Wed, 24 Sep 2014, Ranjan Maitra wrote: I believe it means that when called, the function norm() in the 'base' and the function cor () in the 'NADA' packages are not going to be used, but rather functions of the same name (norm and cor) in the package that you loaded with your library () funct

Re: [R] Masked from package

2014-09-24 Thread Duncan Murdoch
On 24/09/2014 2:22 PM, Rich Shepard wrote: When a library is loaded messages such as these are displayed: The following object is masked from ‘package:base’: norm The following object is masked from ‘package:NADA’: cor What do I read to understand just what being masked m

Re: [R] Masked from package

2014-09-24 Thread Ranjan Maitra
Hi Rich, I believe it means that when called, the function norm() in the 'base' and the function cor () in the 'NADA' packages are not going to be used, but rather functions of the same name (norm and cor) in the package that you loaded with your library () function. Same applies to other objects

[R] Masked from package

2014-09-24 Thread Rich Shepard
When a library is loaded messages such as these are displayed: The following object is masked from ‘package:base’: norm The following object is masked from ‘package:NADA’: cor What do I read to understand just what being masked means? Rich ___