Magritte管道在Rmarkdown中在R Studio 2023.03.1 Build 446中不必要地失效。

huangapple go评论68阅读模式
英文:

Magritte pipelines in Rmarkdown go unnecessarily know in R Studio 2023.03.1 Build 446

问题

我使用两台电脑。
在第一台上,我有这个版本,在另一台上是一个旧版本。

当我使用这个版本时,无论我在一个块内编写什么代码,执行该块的过程都会导致R Studio逐行读取该块的每一行,只在最后才执行magritte管道。绿色进度条会缓慢下降,当它到达最后一行时,它将作为一个整体执行管道。

在另一台电脑上,RMarkdown没有这个问题。

额外信息:这肯定与我使用一个大的.RData文件有关。

一旦加载,即使后来从工作区中移除,它仍会减慢一切,即使与工作区无关的操作也会如此。许多用户在网上报告了相同的经验。

GitHub可能与这个问题有关。

英文:

I use two computers.
In the first I have this version, in another a older one.

When I use this version, whatever I code within a chuck, execution of the chunk will involve R Studio slowly reading each line of the chunk, and only at the very end executing the magritte pipeline. The green bar slowly go down, and when it reach the last line, it will execute the pipeline as a whole.

The same pipeline in a script is executed instantly, instead.

In my other computer, RMarkdown has not this problem.

ADDITIONAL INFO: this is surely related to me working with a big .RData

After it is loaded, even if then removed by the workplace, it will slow everything, even operations unrelated with the workplace. Many users report same experience online.

GitHub may be involved in the problem

答案1

得分: 0

解决方案:我将R Markdown更新到每日(不稳定)版本,现在不再出现错误。

英文:

Solution: I updated R Markdown to the daily (not stable) version and it is not bugged anymore.

huangapple
  • 本文由 发表于 2023年5月25日 08:04:14
  • 转载请务必保留本文链接:https://go.coder-hub.com/76328096.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定