[Bioc-devel] Passing variable argument list to ExpressionSet

Sean Davis sdavis2 at mail.nih.gov
Thu Feb 1 18:35:07 CET 2007


On Thursday 01 February 2007 12:32, Seth Falcon wrote:
> 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.

Thanks, Seth, for the detail here.

Sean



More information about the Bioc-devel mailing list