I have been having an odd issue with RStudio.
When I use any command to run the script (so either Ctrl + R, Ctrl + Enter, or the actual Run command on RStudio) that command is run twice. I have been unable to find anything about this on the internet.
Has any of you ever come across this issue? Thanks
To run the entire document press the Ctrl+Shift+Enter key (or use the Source toolbar button).
You can open both simultaneously, which will result in two rsessions. You can then open each script in each project, and execute each one separately. It is then on your OS to manage the core allocation.
These commands are simple function calls. Type the relevant R function calls into the text file. To run an R command, put the cursor on the line of the command and then click the Run button at the top of the file window. Or just press CTRL-Enter.
I restart RStudio. Change to another workspace and come back. The issue is fixed. So you can try to do that. Maybe can help you.
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