Re: [Rd] Namespace problem

From: gb <gb_at_stat.umu.se>
Date: Mon 20 Sep 2004 - 20:46:58 EST

On Mon, Sep 20, 2004 at 12:26:45PM +0200, Martin Maechler wrote:
> >>>>> "GB" == Göran Broström <gb@stat.umu.se>
> >>>>> on Mon, 20 Sep 2004 11:00:57 +0200 writes:
>
> GB> On Mon, Sep 20, 2004 at 10:43:44AM +0200, Martin Maechler wrote:
> >> >>>>> "GB" == Göran Broström <gb@stat.umu.se>
> >> >>>>> on Sun, 19 Sep 2004 18:51:49 +0200 writes:
>

> We do encourage not using "." for new function names because of
> the reason above, but it's definitely not a requirement.
> In the case where 'foo' is an S3 generic function name,
> we however recommend quite strongly not to use
> 'foo.bar'
> as function name since it looks "too much" like an S3 method.
> Is this the case for you?

No.

>
> GB> But how is this problem connected to using C/Fortran code?
>
> only via "namespace magic".

Yes, magic is the word: I got 'R CMD check' and NAMESPACE working by cleaning 'R' from '*.R~' files and 'src' from old '.o' files and an old 'eha.so' (from 1.x.x something)!

Another thought: Since I really haven't used S3 methods so far, should I go for S4 methods directly?

Göran

-- 
 Göran Broström                    tel: +46 90 786 5223
 Department of Statistics          fax: +46 90 786 6614
 Umeå University                   http://www.stat.umu.se/egna/gb/
 SE-90187 Umeå, Sweden             e-mail: gb@stat.umu.se

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Mon Sep 20 20:51:56 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:00:21 EST