0

R studio-In the middle of Quarto chunks of R code stop working. Code I used worked in R-script, even in one chunk before, however after that one chunk it was impossible to run code (within R-studio) and on every chunk after that. Chunks that were placed before still worked just fine. Restarting R did not help.

It happened with two different documents and codes today, what could be the problem?

The problem is not in code (as it works in one chunk or document and than stops in later chunk or different) document which is also the reason I did not provide minimal reproducible example-code is works just fine in one chunk and then in R-studio in Quarto documents I cannot run from one chunk forward. As problem is not in code I thought it could be something with settings.

agiz
  • 1
  • 1
  • 1
    You've been a member for over 2 years, but ... Welcome to SO, agiz! Questions on SO (especially in R) do much better if they are reproducible and self-contained. By that I mean including attempted code (please be explicit about non-base packages), sample representative data (perhaps via `dput(head(x))` or building data programmatically (e.g., `data.frame(...)`), possibly stochastically), perhaps actual output (with verbatim errors/warnings) versus intended output. Refs: https://stackoverflow.com/q/5963269, [mcve], and https://stackoverflow.com/tags/r/info. – r2evans Aug 29 '23 at 18:26

0 Answers0