I have been running rstudio desktop for several months but recently I went to start it and it says "r is taking longer to start than usual" and the loading wheel just spins and spins but it never opens. I am running the latest versions of R and Rstudio as of this post. I am running windows 10 as my operating system.
I have tried deleting .Rdata, Rprofile.site, .Rprofile and .Renviron files. I have uninstalled and reinstalled both R and Rstudio to the default locations. When I try to start R with an OS command it says "R is not recognized as an internal or external command, operable program or batch file." Yet if I use the short cut I am able to open base R.
Any suggestions on how to resolve this issue would be much appreciated I have been trying to fix this for days but have found nothing but dead ends. Please let me know if there is more data I can provide that would be useful in resolving this issue.