RStudio empty on startup - No windows, no menus, no rendering
Reset the RStudio state. Do this:
- Close RStudio if open.
- Go to this directory: %localappdata%\RStudio-Desktop
- Rename that directory as a type of backup.
- Start RStudio.
RStudio will see the configuration directory is missing and regenerate it with correct values.
Everything should work after that.
Other threads I found helpful here are:
- https://support.rstudio.com/hc/en-us/articles/200534577-Resetting-RStudio-s-State
- https://support.rstudio.com/hc/communities/public/questions/200666647-RStudio-096-16-Windows-7-gives-empty-screen?locale=en-us
Thanks!
RStudio won't start, R ver. 3.4.2, Rstudio ver. 1.1.383
I am afraid that this idea will help you or not that you can try this.
Uninstalling RStudio and R, cleaning the registry, and installing again.
If it is running then close it first from the task manager then uninstall the program.
Issue with Rstudio version (Version 1.3.1073) Giant goldenrod when moving R studio window to new monitor doesn't display correctly
Update
Ok, I was able to reproduce on a Lenovo with an external Dell monitor and address the problem by applying a fix proposed in another Stack Overflow thread. See below:
Research:
https://support.microsoft.com/en-us/topic/windows-scaling-issues-for-high-dpi-devices-508483cd-7c59-0d08-12b0-960b99aa347d
Resolution:
There is a solution, it comes from the option "Compatibility" of the execute file.
Close all current RStudio windows.
Right-click on the shortcut of RStudio (or the original .exe file) and choose Properties
In the RStudio Properties pop-up windows, choose the tab Compatibility
Select High DPI settings
Tick on option Override hide DPI scaling... and then choose System from the drop-down list.
Apply > OK.
(Re)open Rstudio to see the change
On my test system, this addressed the problem observed where the menu text became super large.
Stackoverflow original reference:- RStudio HiDPI support
This appears to be an issue with the version of QT used by RStudio. RStudio is built on top of the QT engine.
QT tracking Issue:
https://bugreports.qt.io/browse/QTBUG-48242
the issue is marked as fixed in QT version 5.9.0 and above.
Recommendation:
Download RStudio preview and try that:
https://www.rstudio.com/products/rstudio/download/preview/
Why? The preview version of RStudio appears to use QtWebEngine/5.12.8, which implies the issue is addressed. If that does not resolve the issue you could file a bug with RStudio, or install and recompile RStudio from the source with an updated version of QT. You can check your QT version via the help, about box.
Hoping the above points you in the right direction. Stays safe and well.
Related Topics
How to Check If a Sequence of Numbers Is Monotonically Increasing (Or Decreasing)
How to Tell What Packages You Have Used in R
Formatting Ggplot2 Axis Labels with Commas (And K? Mm) If I Already Have a Y-Scale
Using R and Plot.Ly - How to Script Saving My Output as a Webpage
Building a List in a Loop in R - Getting Item Names Correct
Use Dplyr's Summarise_Each to Return One Row Per Function
Creating a Pareto Chart with Ggplot2 and R
How to Change the Background Color of the Shiny Dashboard Body
Manipulating Multiple Files in R
How to Split the Main Title of a Plot in 2 or More Lines
How to Replicate a Ddply Behavior That Uses a Custom Function with Dplyr
What's the Difference Between Hex Code (\X) and Unicode (\U) Chars
How to Plot 3D Scatter Diagram Using Ggplot
How to Dynamically Wrap Facet Label Using Ggplot2
Using Apply on a Multidimensional Array in R
How to Sort a Data.Frame with Only One Column, Without Losing Rownames
R Glmnet:"(List) Object Cannot Be Coerced to Type 'Double' "