Having a weird problem in R that seems to have come out of nowhere... output in the RStudio terminal is repeated without me asking for it... i.e.,
> 3+4 > 3+4 [1] 7 [1] 7
Anyone else have this issue and have any ideas how to resolve it? I'm also wondering whether it's actually performing the commands twice (and slowing things down considerably!).
Thanks in advance.
If you want to cancel a command you can simply hit “ Esc ” and RStudio will give you back the “ > ” prompt.
When editing files in the RStudio editor, any selection (or the current line if nothing is selected) can be sent to the active terminal via Ctrl+Alt+Enter (also Cmd+Alt+Enter on the Mac). If a single-line was sent to the terminal the cursor will advance automatically to the next line, allowing single-stepping.
Ctrl+L — Clear the Console.
The RStudio interface is simple. You type R code into the bottom line of the RStudio console pane and then click Enter to run it. The code you type is called a command, because it will command your computer to do something for you. The line you type it into is called the command line.
I had the same problem in Rstudio 0.98.501. I restarted the R session and it disappeared. It is running the same command twice, which can not only slow things down but give erroneous results if you are transforming an object into the same name.
I had the same problem.
Uninstalling R-Studio (v0.98.484?) & reinstalling latest version (v0.98.507) seems to have fixed the problem.
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