[Bioc-devel] Namespace and function 'open'
On Fri, Feb 15, 2008 at 9:53 AM, Markus Schmidberger
<schmidb at ibe.med.uni-muenchen.de> wrote:
Hello,
I built a package, everything was working very well. Now I included a
NAMESPACE to export only some variables. (export(f, g, ...) )
Everything is working fine, except one function. There I get an error:
Fehler in UseMethod("open") : keine anwendbare Methode f?r "open"
In this function I use the function "open" to generate an output bar.
if (verbose) {
pbt <- new("ProgressBarText", length(ids), barsteps = as.integer(20))
open(pbt)
}
for (i in seq(along=ids)) {
if (verbose) {
update(pbt)
}
How I have to change my NAMESPACE file to fix this problem?
Hi, Markus. You will probably need to specify an import, perhaps from the affy package? http://cran.r-project.org/doc/manuals/R-exts.html#Package-name-spaces Hope that helps, Sean