R: getting "inside" environments

Posted by Mike Dewar on Stack Overflow See other posts from Stack Overflow or by Mike Dewar
Published on 2010-04-13T14:54:03Z Indexed on 2010/04/13 15:23 UTC
Read the original article Hit count: 294

Filed under:

Given an environment object e:

> e
<environment: 0x10f0a6e98>
> class(e)
[1] "environment"

How do you access the variables inside the environment?

Just in case you're curious, I have found myself with this environment object. I didn't make it, a package in Bioconductor made it. You can make it, too, using these commands:

library('GEOquery')
eset <- getGEO("GSE4142")[[1]]
e <- assayData(eset)

© Stack Overflow or respective owner

Related posts about r