
ある日、今までサクサク動いていた "Run All Chunks Above" ボタンが、全く反応しなくなりました。

Ctrl+Alt+Shift+P を押してもダメだし、
右上の、"Run" タブから "Run All Chunks Above" を選択してもダメ……

"Run Current Chunk" は使えるので、一つ一つ Run していけば問題ないのですが、時間と労力がかかります orz
「困ったな-」
と思ってググると、下記URLに答えが。
System details RStudio Edition : Desktop & Server RStudio Version : 1.3.842 OS Version : MacOS 10.15.4 & Red Hat 7.8 R Version : 3.6.2 & 3.6.0 Steps to reproduce the problem In a notebo...
どうやら、最後のチャンクが不完全だと上記現象が起こる様子。
そこでハタと思いつきました。
前回、いらなくなった最後2個のチャンクの中を全てコメントアウトして、後からカムバックできるようにしていた事を……

該当するチャンクを確認したら、最後の括りの
```
までコメントアウトしてしまっていたことに気づきました。

その部分のコメントアウトを消して再度 "Run All Chunks Above" ボタンを押すと……
見事に復活。

よかった~。