[Bioc-devel] role of replaceSlots in BiocGenerics

Michael Lawrence lawrence.michael at gene.com
Wed Sep 6 22:11:10 CEST 2017


No, the best practice is to just use initialize(). It used to be that
replaceSlots() saved some copying, but that's no longer really the
case. The only potential benefit is that it can skip validity checks,
but usually you want those.

Michael

On Wed, Sep 6, 2017 at 12:55 PM, Vincent Carey
<stvjc at channing.harvard.edu> wrote:
> Is this the preferred way of adjusting content in a
> live object?  It is not accessible except via ":::"
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel



More information about the Bioc-devel mailing list