Displaying 3 results from an estimated 3 matches for "__c__csparsematrix".
2025 Jan 18
0
How setClass() may introduce a binary dependency between packages
...,] |
In turn, this can be traced to a copy of the CsparseMatrix class from
Matrix_1.5-1 remaining in the namespace and the lazy-load database of
SeuratObject:
readRDS('SeuratObject/R/SeuratObject.rdx')$variables |> names() |>
grep('sparseM', x = _, value = TRUE)
# [1] ".__C__CsparseMatrix" ".__C__dsparseMatrix" ".__C__sparseMatrix"
SeuratObject:::.__C__CsparseMatrix at validity
# function (object)
# .Call(Csparse_validate, object) # <-- missing in Matrix_1.6-0
# <bytecode: 0x55f1f6ff16a8>
# <environment: namespace:Matrix>
When the SeuratObj...
2025 Jan 18
0
How setClass() may introduce a binary dependency between packages
...ced to a copy of the CsparseMatrix class from
> Matrix_1.5-1 remaining in the namespace and the lazy-load database of
> SeuratObject:
>
> readRDS('SeuratObject/R/SeuratObject.rdx')$variables |> names() |>
> grep('sparseM', x = _, value = TRUE)
> # [1] ".__C__CsparseMatrix" ".__C__dsparseMatrix" ".__C__sparseMatrix"
> SeuratObject:::.__C__CsparseMatrix at validity
> # function (object)
> # .Call(Csparse_validate, object) # <-- missing in Matrix_1.6-0
> # <bytecode: 0x55f1f6ff16a8>
> # <environment: namespace:Matrix&...
2023 Jul 19
0
proposal for WRE: clarify that use of S4 classes implies use of superclasses
...quot;.__C__dsparseMatrix" ".__C__generalMatrix" ".__C__sparseMatrix"
[7] ".__C__whatever" ".__NAMESPACE__." ".__S3MethodsTable__."
[10] ".packageName" "zzz"
> sort(names(parent.env(ns)))
[1] ".__C__CsparseMatrix" ".__C__dgCMatrix" "setClass"
i.e., the imported classes are cached in the parent of the namespace (the
imports environment), and superclasses of dgCMatrix that are _not_ imported
are cached in the namespace itself. The caching of superclasses does _not_
occur if I a...