On Wed, Mar 22, 2017 at 6:12 PM, Hervé Pagès <hpa...@fredhutch.org> wrote:
> > setClass("A", representation(stuff="numeric")) > as.vector.A <- function (x, mode="any") x@stuff > a <- new("A", stuff=c(3.5, 0.1)) > x <- numeric(10) > x[3:4] <- a > > then the code is now valid and we still get the segfault on Mac. > Thanks Hervé for the updated MWE. As suggested by Martin and Dan I've run it through valgrind on Linux but it didn't give any errors... Andrzej [[alternative HTML version deleted]] _______________________________________________ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel