Re: [Rd] Increase transparency: suggestion on how to avoid namespaces and/or unnecessary overwrites of existing functions

2011-10-01 Thread Dominick Samperi
On Tue, Aug 23, 2011 at 2:23 PM, Janko Thyson wrote: > aDear list, > > I'm aware of the fact that I posted on something related a while ago, but I > just can't sweat this off and would like to ask your for an opinion: > > The problem: > Namespaces are great, but they don't resolve certain conflict

Re: [Rd] Increase transparency: suggestion on how to avoid namespaces and/or unnecessary overwrites of existing functions

2011-10-01 Thread Spencer Graves
When selecting names for functions and variables, I sometimes use library(sos) to look for existing conflicts with other packages. This won't solve all the problems Janko mentioned, but it can help avoid some. Spencer On 10/1/2011 9:11 AM, Dominick Samperi wrote: On Tue, Aug 23, 2011

Re: [Rd] Increase transparency: suggestion on how to avoid namespaces and/or unnecessary overwrites of existing functions

2011-10-01 Thread Duncan Murdoch
On 11-08-23 2:23 PM, Janko Thyson wrote: aDear list, I'm aware of the fact that I posted on something related a while ago, but I just can't sweat this off and would like to ask your for an opinion: The problem: Namespaces are great, but they don't resolve certain conflicts regarding name clashe

Re: [Rd] Increase transparency: suggestion on how to avoid namespaces and/or unnecessary overwrites of existing functions

2011-10-01 Thread Dominick Samperi
On Sat, Oct 1, 2011 at 1:08 PM, Duncan Murdoch wrote: > On 11-08-23 2:23 PM, Janko Thyson wrote: >> >> aDear list, >> >> I'm aware of the fact that I posted on something related a while ago, >> but I just can't sweat this off and would like to ask your for an opinion: >> >> The problem: >> Namespa

Re: [Rd] Increase transparency: suggestion on how to avoid namespaces and/or unnecessary overwrites of existing functions

2011-10-01 Thread Duncan Murdoch
On 11-10-01 5:14 PM, Dominick Samperi wrote: On Sat, Oct 1, 2011 at 1:08 PM, Duncan Murdoch wrote: On 11-08-23 2:23 PM, Janko Thyson wrote: aDear list, I'm aware of the fact that I posted on something related a while ago, but I just can't sweat this off and would like to ask your for an opin

Re: [Rd] Increase transparency: suggestion on how to avoid namespaces and/or unnecessary overwrites of existing functions

2011-10-01 Thread Simon Urbanek
On Oct 1, 2011, at 6:14 PM, Duncan Murdoch wrote: > On 11-10-01 5:14 PM, Dominick Samperi wrote: >> On Sat, Oct 1, 2011 at 1:08 PM, Duncan Murdoch >> wrote: >>> On 11-08-23 2:23 PM, Janko Thyson wrote: aDear list, I'm aware of the fact that I posted on something related a

Re: [Rd] Increase transparency: suggestion on how to avoid namespaces and/or unnecessary overwrites of existing functions

2011-10-01 Thread Joshua Wiley
On Sat, Oct 1, 2011 at 3:14 PM, Duncan Murdoch wrote: > On 11-10-01 5:14 PM, Dominick Samperi wrote: [snip] >> Except that namespace::foo should be assigned to another local >> variable instead of using package::foo in a tight loop, because >> repeated calls to "::" can introduce a significant per

Re: [Rd] Increase transparency: suggestion on how to avoid namespaces and/or unnecessary overwrites of existing functions

2011-10-01 Thread Simon Urbanek
On Oct 1, 2011, at 7:52 PM, Joshua Wiley wrote: > On Sat, Oct 1, 2011 at 3:14 PM, Duncan Murdoch > wrote: >> On 11-10-01 5:14 PM, Dominick Samperi wrote: > [snip] >>> Except that namespace::foo should be assigned to another local >>> variable instead of using package::foo in a tight loop, becau