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 <st...@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@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/bioc-devel _______________________________________________ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel