When I save a file in RStudio with R Code, when I reopen it later its is blank, What is the cause?

I installed Rstudio to follow along with a Linked in course, but when I open the exercise R source code files, the source code window is blank. When I open the same file in a text editor, the file contains all the source code.

If I open a new file, then copy and paste the same code then save it to a new file; when I reopen that file, it shows up blank again.

What did I miss in the installation?

Hi @DanScala! Welcome!

How odd (and troublesome)! To sort out what might be going wrong, I suspect it will help to have some more system info, such as:

  • RStudio Edition: (Desktop or Server)
  • RStudio Version:
  • OS Version:
  • R Version:
1 Like

Hi JCBlum,

Here is my information:

· RStudio Edition: (Desktop or Server) - Desktop

· RStudio Version: 1.1146

· OS Version: Windows 10 64 bit

· R Version:

  • R version 3.5.1 (2018-07-02) -- "Feather Spray"

  • Copyright (C) 2018 The R Foundation for Statistical Computing

  • Platform: x86_64-w64-mingw32/x64 (64-bit)
    I am between jobs and I m taking online courses to expand my skills through LinkedIn and courses from Udemy

Dan Scala