Re: [Rd] dgTMatrix Segmentation Fault

2021-06-08 Thread Martin Maechler
> Dario Strbenac > on Tue, 8 Jun 2021 09:00:04 + writes: > Good day, Indeed, changing the logical test is a > workaround to the problem. However, a segmentation fault > means that the software tried to access an invalid memory > location, so I think the original pr

[Rd] Non-mutable ALTREP objects

2021-06-08 Thread Gábor Csárdi
Dear all, I have another ALTREP question. In the https://github.com/ALTREP-examples/Rpkg-simplemmap example, it is possible to mmap a file read-write with wrtOK = TRUE. This is a pretty cool use case, one can change the mapped vector (in C), and the change is synchronized with the file, and also

Re: [Rd] dgTMatrix Segmentation Fault

2021-06-08 Thread Dario Strbenac
Good day, Indeed, changing the logical test is a workaround to the problem. However, a segmentation fault means that the software tried to access an invalid memory location, so I think the original problem should be addressed in Matrix package, regardless. -