简体   繁体   中英

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.

在此处输入图像描述

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM