[R] Unexpected result after auto-attaching of the Matrix package

2025-02-11 Thread H B via R-help
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("~/Do

Re: [R] Unexpected result after auto-attaching of the Matrix package

2025-02-13 Thread H B via R-help
can get two different results when trying to access the  same object in the same  way,  without any error or warning message. Thanks again! Best regards Hilmar On 12.02.25 14:09, Ivan Krylov wrote: В Tue, 11 Feb 2025 13:51:48 +0100 H B via R-help пишет: > class(d) [1] "dgCMatr

Re: [R] Unexpected result after auto-attaching of the Matrix package

2025-02-13 Thread H B via R-help
wrong result was kind of unexpected. Best regards Hilmar On 12.02.25 03:02, Jeff Newmiller wrote: Why aren't you loading the package before you load the object that assumes the relevant methods for that object are available? On February 11, 2025 4:51:48 AM PST, H B via R-help wrote: Dea