Hello Everyone,
I just started using R a week ago, and after making simple code such as for and while loops in R Studio, It works pretty well until I have to save my files.
After I save my R Script as a .R file, It seems as if everything worked out well. I even save the R data and workspace image as well. When I leave the tab of the current file I was coding in, I exited R Studio.
When I log back into R studio, I try to open back up the file I just made. But surprisingly, ALL OF THE CODE IS GONE!! I am very surprised and upset because all the code I made was gone although I saved everything. I am not sure why that is the case. I am using Window 10 and R Studio Version 1.1.383. I also have R installed as well (R Version 4.0.2)
Can somebody please explain what the issue is behind this? Has anybody ever experienced this before? I am very confused.