When I open the R.exe I get the Rterm environment instead of the Rgui. The Rterm looks a lot like a DOS window, and this behavior is very definitely unwanted.
So far I have tried:
-
Asking for help on the web. I have tried those suggestions. (see below)
-
Asking on Stack Overflow. A lot of reads, but no suggested answers.
-
Uninstall and reinstall both R and Rstudio, twice each. Doesn't change anything, and Rstudio continues to work fine.
-
Asking here, even though it is somewhat off topic. PLEASE HELP.
My first thought was to simply reboot the computer -- no help. Then I looked on the web. One suggestion was to delete R and reinstall it. I have uninstalled and reinstalled R and Rstudio, twice each. Another suggestion was to edit the profile, but my .Rprofile file is empty. I also saw a suggestion about editing environmental variables and deleting anything involving R, but I could not find anything relating to R.
The problem started when I accidentally tried to run reprex() in the Rgui instead of Rstudio. It gave me an unpleasant error message and closed the R session. But it left a Rterm window open. I closed that window separately.
I am having no problems with Rstudio, but sometimes I prefer to run a session in the Rgui.