[BioC] Problems with hgu133plus2

James W. MacDonald jmacdon at med.umich.edu
Sun Feb 27 14:23:53 CET 2005


Vitalina Komashko wrote:
> Hello Kasper,
> Thank you very much for your reply, it really worked. But now I can't access
> information from the environments, for example:
> 
>>id<-ls(env=hgu133plus2ACCNUM)
> 
> Error in ls(env = hgu133plus2ACCNUM) : Object "hgu133plus2ACCNUM" not found
> Probably I need to understand where ls(env=xxx) is looking  for .rda file. 
> Thank you for your help
> Best wishes, Vitalina.
> 
There is a slight problem with the way these packages are being built 
right now. Until we get this straightened out, you can use this function 
to make the package work as expected.

load.pack <- function(package){
	require(package, quietly = TRUE, character.only = TRUE)
	files <- scan(file.path(.path.package(package), 		"data","filelist"), 
what = "character", quiet = TRUE)
	files <- as.list(sub("\\.rda$", "", files[-grep("file",files)]))
	myenv <- as.environment(paste("package:", package, sep=""))
	data(list = files, envir = myenv)
}

e.g., load.pack("hgu133plus2")

Note that this will take a while to load considering the size of the 
hgu133plus2 package.

HTH,

Jim



-- 
James W. MacDonald
University of Michigan
Affymetrix and cDNA Microarray Core
1500 E Medical Center Drive
Ann Arbor MI 48109
734-647-5623



**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues.



More information about the Bioconductor mailing list