Displaying 1 result from an estimated 1 matches for "eggo2alleg".
Did you mean:
eggo2allegs
2008 Oct 08
1
follow up on "[Rd] NAMESPACE & methods guidance, please" ( http://tolstoy.newcastle.edu.au/R/e4/devel/08/06/1901.html )
...=================================================
## I created a package, say, "tmpA", with a NAMESPACE with Depend: and Imports: org.Hs.eg.db and in a new session of R
> library(tmpA)
> foo
function ()
{
require("org.Hs.eg.db")
get("A GO TERM", org.Hs.egGO2ALLEGS)
}
> foo()
Error in as.environment(pos) : invalid object for 'as.environment'
##=================================================================
I fixed the problem by changing "get" explicitly to "AnnotationDbi::get". I'm just wondering what was the fina...