Re: [Rd] [External] Re: Repeated library() of one package with different include.only= entries

2024-04-11 Thread Michael Chirico
> I would assume that > library(Matrix, include.only="isDiagonal") > implies that only `isDiagonal` ends up on the search path This could also be a reasonable behavior, but neither does that happen today. > I think a far better approach to solve Michael's problem is simply to use > fac2sparse

Re: [Rd] [External] Re: Repeated library() of one package with different include.only= entries

2024-04-11 Thread luke-tierney--- via R-devel
On Thu, 11 Apr 2024, Duncan Murdoch wrote: On 11/04/2024 7:04 a.m., Martin Maechler wrote: Michael Chirico on Mon, 8 Apr 2024 10:19:29 -0700 writes: > Right now, attaching the same package with different include.only= has no > effect: > library(Matrix, include.only="fac

Re: [Rd] Repeated library() of one package with different include.only= entries

2024-04-11 Thread Duncan Murdoch
On 11/04/2024 7:04 a.m., Martin Maechler wrote: Michael Chirico on Mon, 8 Apr 2024 10:19:29 -0700 writes: > Right now, attaching the same package with different include.only= has no > effect: > library(Matrix, include.only="fac2sparse") > library(Matrix) > ls("pac

Re: [Rd] Repeated library() of one package with different include.only= entries

2024-04-11 Thread Martin Maechler
> Michael Chirico > on Mon, 8 Apr 2024 10:19:29 -0700 writes: > Right now, attaching the same package with different include.only= has no > effect: > library(Matrix, include.only="fac2sparse") > library(Matrix) > ls("package:Matrix") > # [1] "fac2sparse"