Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RStudio Run command running twice issue [duplicate]

Tags:

command

r

rstudio

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

like image 685
user3257121 Avatar asked Mar 07 '14 10:03

user3257121


People also ask

How do I run an R code at once?

To run the entire document press the Ctrl+Shift+Enter key (or use the Source toolbar button).

Can you run multiple R scripts at once?

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.

What is the Run command in R?

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.


1 Answers

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.

like image 97
thanh_nh2911 Avatar answered Nov 15 '22 22:11

thanh_nh2911