Paul
Paul

Reputation: 107

Stan fails to start

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

Upvotes: 0

Views: 261

Answers (1)

Paul
Paul

Reputation: 107

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.

Upvotes: 1

Related Questions