R Session Aborted after upgrade and re install

I upgraded to R 4.2.0 and am using RStudio 2022.06.0

I used pacman to install all of the libraries I use.

Now when I run pacman to import the libraries I get the Session Aborted error.

Is there a way to debug this or has anyone else ran into this?

1 Like

You need to update all your packages since they were compiled for an older R version

update.packages(checkBuilt = TRUE)

After fixing the errors that arise from update.packages(), and then running pacman::p_load(), I still get the same error

1 Like

I found out what the issue is. The xlsx package version 0.6.5 doesn't work with some combination of R 4.2, RStudio 2022.06.0, and loading the package with pacman version 0.5.1

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.