Swirl does not install on R 4.0.0

551 Views Asked by At

I've been trying to install the SWIRL package on R 4.0.0 on RStudio Desktop 1.2.5042 on windows using install.packages("swirl"). The installation fails and I get the following error message:

"Error in readRDS(pfile) : cannot read workspace version 3 written by R 4.0.0; need R 3.5.0 or newer"

Does anyone know if this is a solvable error? Will I have to wait until a new version of SWIRL comes out?

1

There are 1 best solutions below

0
Hugo Amorim On

Please check the changes in R version 4.0.0

Defunct functions mem.limits(), .readRDS(), .saveRDS(),..find.package(), and .path.package() from package base

https://cran.r-project.org/doc/manuals/r-devel/NEWS.html

I also use a lot RDS fuctions