Re: [Rd] S3 methods in default namespace

2011-08-29 Thread Duncan Murdoch
On 29/08/2011 8:20 AM, Hadley Wickham wrote: >> So doesn't that break packages that use S3 but don't have a NAMESPACE? > > Maybe, but since the methods are exported as functions they are also found > for method dispatch and imported, if another package imports from the > Namspace. The problem

Re: [Rd] S3 methods in default namespace

2011-08-29 Thread Uwe Ligges
On 29.08.2011 14:20, Hadley Wickham wrote: So doesn't that break packages that use S3 but don't have a NAMESPACE? Maybe, but since the methods are exported as functions they are also found for method dispatch and imported, if another package imports from the Namspace. The problem I see is wha

Re: [Rd] S3 methods in default namespace

2011-08-29 Thread Hadley Wickham
>> So doesn't that break packages that use S3 but don't have a NAMESPACE? > > Maybe, but since the methods are exported as functions they are also found > for method dispatch and imported, if another package imports from the > Namspace. The problem I see is what happens if method dispatch is done o

Re: [Rd] S3 methods in default namespace

2011-08-28 Thread Uwe Ligges
On 27.08.2011 20:02, Hadley Wickham wrote: Are there any plans for figuring out potential S3 methods and declaring them with S3method() in the automatic default NAMESPACE? There are no safe ways to do that. So doesn't that break packages that use S3 but don't have a NAMESPACE? Maybe, but

Re: [Rd] S3 methods in default namespace

2011-08-27 Thread Hadley Wickham
>> Are there any plans for figuring out potential S3 methods and declaring >> them >> with S3method() in the automatic default NAMESPACE? > > There are no safe ways to do that. So doesn't that break packages that use S3 but don't have a NAMESPACE? Hadley -- Assistant Professor / Dobelman Family

Re: [Rd] S3 methods in default namespace

2011-08-27 Thread Uwe Ligges
On 26.08.2011 23:47, Michael Lawrence wrote: Hi guys, Are there any plans for figuring out potential S3 methods and declaring them with S3method() in the automatic default NAMESPACE? There are no safe ways to do that. Uwe Thanks, Michael [[alternative HTML version deleted]] __

[Rd] S3 methods in default namespace

2011-08-26 Thread Michael Lawrence
Hi guys, Are there any plans for figuring out potential S3 methods and declaring them with S3method() in the automatic default NAMESPACE? Thanks, Michael [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.e