All my R scripts erased when attempting to update my R version with installr package. Is there a solution in this world?

I have not code to show here

where had you saved your scripts to?

They are in different folders, they are still there but when I open each of them is now empty

whatever you do be careful to not have rstudio 'save' these apparently blank scripts that you opened...

Its likely an encoding issue. Try File> Reopen with encoding > UTF-8

R 4.2: Document unexpectedly opens as empty in some cases · Issue #11206 · rstudio/rstudio (

1 Like

It worked!!!
Thank you so much!
Yuo are a lifesaver!

This topic was automatically closed 7 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.