Yannick Ke
Yannick Ke

Reputation: 21

R Studio doesn't react to Run All

In R studio, I used to be able to click "run all" and it would run the script without any problem, so I could work with the output.

Now, when I open the file again and try to run the script, nothing happens, even though I haven't made any changes ( I think ). No error messages are shown.

How could I go about this?

Upvotes: 2

Views: 2934

Answers (2)

Bruce Jones
Bruce Jones

Reputation: 1

Reset Rstudio state by renaming ~/.local/share/rstudio to ~/.local/share/rstudio.old. It will automatically create a new folder. Relaunch

Older versions might be ~/.local/share/rstudio-desktop

I was banging my head on the wall and the original answer provided here didn't work, but changing the folder name did.

Upvotes: 0

GBG
GBG

Reputation: 91

Thanks, had the same problem. Super frustrating! In the end "Run All" was not working because the last chunk did not have [```] at the end.

Hope that helps.

Upvotes: 9

Related Questions