search for: l840

Displaying 2 results from an estimated 2 matches for "l840".

Did you mean: 840
2025 Feb 12
1
Unexpected result after auto-attaching of the Matrix package
.../main/objects.c#L493 6. R_data_class2() sees it's an S4 object and calls methods:::.extendsForS3(class(d)), which finally loads Matrix in order to find out classes extended by "dgCMatrix": https://github.com/r-devel/r-svn/blob/fa73948a1977da05788499807469e69d5a21bd98/src/main/attrib.c#L840 https://github.com/r-devel/r-svn/blob/fa73948a1977da05788499807469e69d5a21bd98/src/main/attrib.c#L736-L741 7. S3 dispatch fails for all those S4 classes or the "default" method, so dim(d) returns attr(d, "dim") (which is not set): https://github.com/r-devel/r-svn/blob/fa73948a19...
2025 Feb 11
2
Unexpected result after auto-attaching of the Matrix package
Dear all, I just stumbled on this behavior - not sure if this is expected: R version 4.4.2 (2024-10-31) -- "Pile of Leaves" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu > library(Matrix) > sparseMatrix(i=1:10, j=1:10, x=rnorm(10)) |> saveRDS("~/Downloads/sparsemat_test.rds") > q() Save workspace image? [y/n/c]: n