[Bioc-devel] Passing variable argument list to ExpressionSet

Seth Falcon sfalcon at fhcrc.org
Thu Feb 1 18:32:53 CET 2007

Sean Davis <sdavis2 at mail.nih.gov> writes:

> On Thursday 01 February 2007 11:57, Martin Morgan wrote:
>> You could also create an envionment and stored your elements in
>> it
>> > x <- new.env()

One comment here:

  It is better to create new environments as:

       x <- new.env(hash=TRUE, parent=emptyenv())

   When using an environment as a hashtable, you really do not want
   any inheritance (hence the emptyenv() as parent).  For small
   environments with fewer than 50 (made up number) elements, the
   default hash=FALSE is probably fine.

+ seth

More information about the Bioc-devel mailing list