Skip to content
Prev 328 / 21312 Next

[Bioc-devel] NAMESPACE questions

Hi Seth,

El 18/11/2005, a las 18:03, Seth Falcon escribi?:
Than you for this tips. I have changed all names and let only with  
dots real S3 methods.
It really make sense.
This is only possible if package B has a NAMESPACE, isn't it?

And what if package A and B have either function foo() and B call  
also function foo() from package A. I defined a function log2 to  
manage log2 for some type of data and inside uses log2 from base  
package. But instead of that it tries to use log2 from my package.  
This is because my log2 if first in the search path. I could solve  
this using base::log2 in case log2 has a NAMESPACE but I prefer to  
rename my function. But developers deal normally in this situations?
Another question is that I have some S4 classes and methods. I make  
the corresponding entry in the NAMESPACE file but the documentation  
tell something about .onLoad call that must be present. I see that in  
package Biobase is in file zzz.R in R directory but I don't known how  
to call it in my case. In fact it is not actually and my package  
compiles and works without warning.

By the way I think it really clarifies things. I have solved the  
issues with my package and now has a  working NAMESPACE file (maeby  
with some bugs?)

Best,

D.
------------------------------------------------------
Diego D?ez Ruiz
Molecular Endocrinology.
Instituto de Investigaciones Biom?dicas
CSIC/UAM
Madrid (SPAIN)
mail:    ddiez at iib.uam.es
url:       http://www.iib.uam.es/~ddiez
tlf:         +0034915854446
fax:       +0034915854401