英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论