0

I am using R 4.2.0 on Windows 11. When I load the rstan library, the R session is aborted. It says, "R encountered a fatal error. The session was terminated." See the screenshot below.

enter image description here

user438383
  • 5,716
  • 8
  • 28
  • 43
Paul
  • 107
  • 4

1 Answers1

1

I reinstalled the most recent version of everything: R (4.2), RStudio (2022.02.2 Build 485), Rtools (4.2), rstan (2.26.x). Then, I changed the R_LIBS_USER library. I can now run rstan in RStudio. I think changing the R_LIBS_USER solved the problem.

user438383
  • 5,716
  • 8
  • 28
  • 43
Paul
  • 107
  • 4