Environments are one of several types of R objects (connections are others) for which saving and loading are not exact inversions.
e <- new.env() f <- e identical(e,f) # [1] TRUE save("f", file="f.Rdata") rm(f) load("f.Rdata") identical(e,f) # [1] FALSE
ExpressionSet contains the assayData slot, the assayData class, which is described as a "container class defined as a union of the list and environment class". Although eset is not installed on my computer, I would suggest that the assayData eset and e2 slots refer to different environments, forcing identical(eset, e2) return FALSE .
source share