Re: [R] 4.5.0: Do NOT just copy library folder and update.packages()

2025-04-25 Thread Matthew McCormack
How about this: lib_loc <- "/home/R/x86_64-pc-linux-gnu-library/4.4" to_install <- unname(installed.packages(lib.loc = lib_loc)[, "Package"]) to_install install.packages(pkgs = to_install) Copy the names of the packages, then install them in the new version of R. Matthew On 4/25/25 12:16

Re: [R] 4.5.0: Do NOT just copy library folder and update.packages()

2025-04-25 Thread Duncan Murdoch
Fer: If you have been keeping all 4.x packages in one directory, then you should rename that directory and let R 4.5 build a new one to hold packages that work there. Keep the old one around if you want to know the names of packages that were previously installed, or delete it if you don't r

Re: [R] 4.5.0: Do NOT just copy library folder and update.packages()

2025-04-25 Thread Jeff Newmiller via R-help
Don't copy installed packages. There are also periodically changes in the compiler toolchain, and many packages have compiled code in them that can misbehave if you mix old compiled code and new compiled code. The kinds of errors you get can range from minor random answers to crashing R. The ef

[R] Spontaneous revert to 4.4?

2025-04-25 Thread Mitchell Maltenfort
On a MacBook Silicon running Sequoia. After installing 4.5 from the package, I discovered the Current version pointer spontaneously points to 4.4 after a while. I tried removing the 4.4 folder outright and it somehow reappeared, if missing libraries. I tried doing the 4.5 reinstall from a differ

Re: [R] 4.5.0: Do NOT just copy library folder and update.packages()

2025-04-25 Thread Fer
What about if there is only one folder for packages under 4.X... where any version of R $.X... would load from there the packages? Thanks Fer On 4/25/25 11:16, Peter Dalgaard via R-help wrote: > A couple of people have gotten themselves in trouble by copying the contents > of their 4.4 library

[R] 4.5.0: Do NOT just copy library folder and update.packages()

2025-04-25 Thread Peter Dalgaard via R-help
A couple of people have gotten themselves in trouble by copying the contents of their 4.4 library folder into the 4.5 counterpart and running update.packages(). That can be a really bad idea if the old library contains base packages like "tools" or "utils". They don't live on CRAN, so update.pac

[R] Possible bug in gzcon() (6161:src/main/connections.c)

2025-04-25 Thread André Wildberg
Hi developers, originally sent as bug report request, but got re-routed here: Problem: Connections established via gzcon (also used by packages e.g. vroom/readr) may end reading/connection prematurely (see https://stackoverflow.com/questions/79587028/read-csv-only-reads-a-fraction-of-rows-from

Re: [R] 4.5.0 | update/install BH

2025-04-25 Thread Uwe Ligges
For me BH installation from source on Windows takes around 70 seconds (without doenload time) and installation from binary Similarly for the binary version. The latter should in principle be fatser, but for both installations most of the time is actually spent by the anti-virus software... So t