Re: [R] customizing library locations for R in ubuntu

2025-05-15 Thread ravi via R-help
I have now followed your advice and switched to the R-sig-debian help list. Ravi On Thursday, 15 May 2025 at 12:59:05 CEST, ravi wrote: I did some googling and then ran: > bspm::shadowed_packages() Package LibPath Version   Shadow.LibPath Shadow.Version Shadow.Newer bsp

Re: [R] customizing library locations for R in ubuntu

2025-05-15 Thread ravi via R-help
I did some googling and then ran: > bspm::shadowed_packages() Package LibPath Version   Shadow.LibPath Shadow.Version Shadow.Newer bspmbspm /usr/lib/R/site-library   0.5.7 /home/ravi/rvi/Rlib  0.5.7     FALSE I have a copy of bspm in the /usr/lib/R/site-li

[R] Different output type with as.Date

2025-05-15 Thread Barthelemy Tanguy via R-help
Hello, I'm encountering what seems to me to be an anomaly with the as.Date() function. If I fill in an origin or not, the function will not return the same type of object (integer or double). Here's a small example: ``` r as.Date(0L) |> typeof() #> [1] "integer" as.Date(0L, origin = "1970-01-0