bigmemory
bigmemory copied to clipboard
sub.big.matrix of a non-shared big.matrix?
a <- big.matrix(5, 5, shared = FALSE)
a.sub <- sub.big.matrix(a, 1, 3)
Error in DescribeBigMatrix(x) :
you can't describe a non-shared big.matrix.
Is it normal? Why?
DescribeBigMatrix is not working because the big.matrix object only exists in a single process. You would copy it with a deepcopy.
However - as you probably already know - the real issue is "Why can't you create a sub.big.matrix from a non-shared big.matrix?" The code is probably using describe to attach to the big.matrix. This should be fixed.
I'll probably have some time to look at it this weekend. I've been overtasked lately and haven't been able to get to issues nearly as quickly as I'd like to.
Thanks for your time.
Thanks for your patience.