Rstudio is duplicating commands in the command lin

2019-01-09 08:38发布

问题:

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.

回答1:

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.



回答2:

I had the same problem.

Uninstalling R-Studio (v0.98.484?) & reinstalling latest version (v0.98.507) seems to have fixed the problem.



回答3:

I am using the 0.98.507 version.

Restaring the Rstudio solved the problem for me.



回答4:

I too experienced the similar problem. I was using R version 3.2.3 and RStudio Version 0.99.893, just restarted my session and it was gone :) :)



标签: r rstudio