Rstudio 正在复制命令行中的命令 [英] Rstudio is duplicating commands in the command line

查看:46
本文介绍了Rstudio 正在复制命令行中的命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 R 中有一个奇怪的问题,似乎无处不在......在没有我要求的情况下重复了 RStudio 终端中的输出......即,

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!).

提前致谢.

推荐答案

我在 Rstudio 0.98.501 中遇到了同样的问题.我重新启动了 R 会话,它消失了.它两次运行相同的命令,如果您将对象转换为相同的名称,这不仅会减慢速度,而且会给出错误的结果.

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.

这篇关于Rstudio 正在复制命令行中的命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆