How to fix -- R version change [4.0.4 -> 4.1.0] detected when restoring session; search path not restored

Hi,

I upgraded R 4.0.3 to 4.1 on RHEL 8. And, I see the below message when I open rstudio-server from browser.

R version change [4.0.4 -> 4.1.0] detected when restoring session; search path not restored

Can anyone please guide me how to fix it are where you make the changes? OR Can we ignore this message?

Thank you in advance.

Usually this only appears the first time you open a RStudio session after updating R, if you are not getting it in subsequent logins then you can simply ignore it.

Hi Andresrcs,

Thank you for your reply.

I am getting this error message when run the ggplot, and it is quite persistent.

Have you updated your packages with checkBuilt = TRUE option after updating R?

update.packages(repos='https://cran.rstudio.com/', ask=FALSE, checkBuilt=TRUE)

Also, try not restoring your previous R session (it is considered a bad practice anyway).

Hi,

We can also fix this error message by starting NEW SESSION with rstudio. This worked for me.

Thank you.