Disconnected from server message with source code

this is something that was introduced into Matrix package a few months ago :
R: News for R Package 'Matrix' (r-project.org)

  • New nonvirtual class ndiMatrix, extending virtual classes diagonalMatrix and nMatrix, for nonzero pattern diagonal matrices. It is used to represent the result of is.na, is.nan, is.infinite applied to diagonalMatrix, as well as diagonal boolean products. Coercions as(<diagonalMatrix>, "nMatrix") now give ndiMatrix instead of ntCMatrix. The latter can for now still be obtained by coercing to nsparseMatrix instead of nMatrix.
1 Like