Last answered:

07 Dec 2021

Posted on:

11 Apr 2020

0

.R files when opened show blank RScripts: What is the possible solution to this?

Hi,

When I open the .R files (exercises/solutions), the R Studio shows blank R Script and workspace.

What can be the possible reason and solution for this?

Please help,

Thank You in Advance.
3 answers ( 0 marked as helpful)
Instructor
Posted on:

11 Apr 2020

0
Hi Aakash,  While in R studio, could you try to close the R scripts, and then reopen them again, using Open File?  This might be due to some migration issue, if you'd like, you can read about it in more detail here: https://github.com/rstudio/rstudio/issues/1623 Let me know if this helps.   Best, Eli
Posted on:

07 Apr 2021

0

It happens when you use Anaconda provided Rstudio. Please try to install Rstudio from its official site. Then the problem will be resolved.
URL for downloading Rstudio Desktop: https://www.rstudio.com/products/rstudio/
before installing it you have to download R from URL: https://cran.r-project.org/

image.png

Posted on:

07 Dec 2021

0

If you used Anaconda to get the RStudio, what you saw here may be a common bug. However, some find changing the encoding is a possible solution:
https://github.com/ContinuumIO/anaconda-issues/issues/1609

Submit an answer