'R (4.1.3) crashes when trying to open the 64 bit version

When I try to open R in the most current version (4.1.3) in 64-bit (Rgui.exe), the application closes as soon as it opens.

I believe this is the reason why RStudio doesn't work on my machine (I have a Windows 10 64bit machine).

RStudio only works if I use version 4.0.3 of R, which unfortunately doesn't run some libraries I need

Can anyone help me out with this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source