I'm getting a confusing error while using RStudio. When I use the command line, in the middle of typing a command (never while executing a command), R throws the following error:
Error in loadNamespace(name) : there is no package called ‘.GlobalEnv’
I am using R version 3.2.3 and RStudio version 0.99.491; I have tried to re-install RStudio and to delete settings.
Look at the tabs that open at startup.
In my case, it was because there was a debugging tab opened and RStudio was trying to load it at startup. I just closed it and that error stopped.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With