[BioC] Question on AnnBuilder (on Windows and Linux)
mtmorgan at fhcrc.org
Sat May 12 16:59:07 CEST 2007
"Alex Tsoi" <tsoi.teen at gmail.com> writes:
> Hi All,
> I am working to use AnnBuilder to build a package for a microarray.
> I am here just use the small data set from thgu95a in the AnnBuilder as
> illustrations of the problems I am facing
> When I use my R 2.4.1 in windows,
>> myBase <- file.path(.path.package("AnnBuilder"), "data", "thgu95a")
>> myBaseType <- "gb"
>> mySrcUrls <- getOption("AnnBuilderSourceUrls")
>> myDir <- tempdir()
>> ABPkgBuilder(baseName = myBase, srcUrl = mySrcUrls, baseMapType =
> + pkgName = "myPkg", pkgPath = myDir, organism = "Homo sapens", version = "
> 1.1.0", author = "alex", fromWeb = TRUE)
> and I receive the error:
> Error in system(paste("gzip -d", fileName), intern = TRUE) :
> gzip not found
> Error in unzipFile(fileName, destDir, TRUE) :
> Gzip is either not installed or not in your path.
> You may need to install the Rtools available at:
> but I already have the Gzip installed in my windows, and it is in the path
Probably though your gzip is not the one R is expecting. R uses
several non-standard versions of tools, and these have to be 'found'
first. Likely you need to follow the directions in the 'R Installation
and Administration' guide, appendix E (available at
http://r-project.org, or 'HTML help' under the 'Help' menu).. The
instructions are tedious, and you have to follow them exactly. When
you think you've got things set up, open a 'cmd' window and type gzip
--version and see that it is the right one, i.e., the one in Rtools;
remember that the directory where Rtools is installed needs to be at
the front of the 'PATH' environment variable.
Sorry if this is all familiar to you, and not relevnt. I've just
started to use AnnBuilder on windows myself, and would not be entirely
surprised if there are other problems.
> Then I tried to use LInux with R 2.3.1 installed, and I used the same code
> as above and I get this error message:
> Error in validObject(.Object) : invalid class "GO" object: invalid object
> for slot "srcUrl" in class "GO": got class "list", should be or extend class
> However, my object for srcUrl$GO is;
>  "http://www.godatabase.org/dev/database/archive/latest"
srcUrls: 'srcUrls' a vector of named character strings for the urls
so either unlist(mySrcUrls) to get the list as a character vector or
mySrcUrls[["GO"]] to get the GO url.
> I greatly appreciate if anyone could show me how to solve the problem.
> [[alternative HTML version deleted]]
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
Bioconductor / Computational Biology
More information about the Bioconductor