Re: [Rd] dgTMatrix Segmentation Fault

2021-06-07 Thread Sokol Serguei
Le 07/06/2021 à 09:00, Dario Strbenac a écrit : Good day, I notice that summing rows of a large dgTMatrix fails. library(Matrix) aMatrix <- new("dgTMatrix", i = as.integer(sample(20, 1)-1), j = as.integer(sample(5, 1)-1), x = rnorm(1), Dim =

[Rd] dgTMatrix Segmentation Fault

2021-06-07 Thread Dario Strbenac
Good day, I notice that summing rows of a large dgTMatrix fails. library(Matrix) aMatrix <- new("dgTMatrix", i = as.integer(sample(20, 1)-1), j = as.integer(sample(5, 1)-1), x = rnorm(1), Dim = c(20L, 5L) ) totals <- rowSu