Hello all,

 

I have the following particular problem. Consider the following two
R/BioC commands:

 

1. > get("1441536_at", envir=mouse4302LOCUSID)

    [1] 208715

2. get("1441536_at", envir=sprintf("%sLOCUSID", cleancdfname(cdfName(x),
addcdf=FALSE)))

    Error in get(x, envir, mode, inherits) : invalid 'envir' argument

 

The problem with the second command is that the 'envir' variable is
presented as a character string. R cannot handle this and I cannot
overcome this problem. Somehow, I must make it clear to R that this is
not a string, but that it is a variable name. Has anyone any idea how to
do this? This problem seems to be an obvious one, but I spent quite some
time on this without finding a solution.

 

Regards,

 

Philip de Groot

Wageningen University


	[[alternative HTML version deleted]]

