[R] Problem with compatible library versions

Ebert,Timothy Aaron tebert @end|ng |rom u||@edu
Wed Oct 11 14:54:04 CEST 2023


Is that a method where a program that I write today would still run without changes in 10 years?
Tim

-----Original Message-----
From: R-help <r-help-bounces using r-project.org> On Behalf Of Richard O'Keefe
Sent: Wednesday, October 11, 2023 8:08 AM
To: Uwe Ligges <ligges using statistik.tu-dortmund.de>
Cc: r-help using r-project.org
Subject: Re: [R] Problem with compatible library versions

[External Email]

There is a fairly straightforward way to load older versions of packages, and that is to use the 'groundhog' package.
As the first sentence of https://groundhogr.com/ puts it:
   Make your R scripts reproducible by replacing library(pkg)
   with groundhog.library(pkg, date).

pkg can be a vector of package names or a single name.

On Wed, 11 Oct 2023 at 20:58, Uwe Ligges <ligges using statistik.tu-dortmund.de>
wrote:
>
>
> On 10.10.2023 17:34, Sabine Braun wrote:
> > On the github website I have reported several bugs with new versions
> > of the tidyverse group (probably dplyr) which prevent me from using
> > R normally. I wanted to go back to older versions but this seems not
> > bo be easy. I downloaded R 4.1.2. and Rtools 40 but the library
> > versions
>
> So this is on Windows.
>
> Actually, if you install R-4.1.2 and use a clean library and install
> binaries, then you should get binary installation from CRAN that fit
> to the R-4.1.x series.
>
> If you want to install older package versions, then you have to
> install these one by one from sources, unfortunately.
>
> Best,
> Uwe Ligges
>
>
>
> > installed are still the newest ones. I was able to install dplyr 1.0.7.
> > manually but there are error messages on incompatibility when
> > loading this version. Is there a possibility to load older library
> > versions which alre compatible ?
> >
> > Thank you very much!
> >
> > Best regards
> >
> > Sabine Braun
> >
> >
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat/
> .ethz.ch%2Fmailman%2Flistinfo%2Fr-help&data=05%7C01%7Ctebert%40ufl.edu
> %7C86c81ebb0b184971b4eb08dbca52d5b3%7C0d4da0f84a314d76ace60a62331e1b84
> %7C0%7C0%7C638326229351781447%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sda
> ta=kEpdr7GlTQwcaKCMfI0NJfWXrgCshp5DVALyiu%2FHG4I%3D&reserved=0
> PLEASE do read the posting guide
http://www.r-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

        [[alternative HTML version deleted]]

______________________________________________
R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.r-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list