As a simpler option, we’ve recently extended cmdstanr
to allow for running cmdstan
through WSL from a regular windows R session. Simply add wsl=TRUE
to the install_cmdstan()
call, and this will result in cmdstan
being built under WSL and all subsequent models then being run through WSL.
There is currently a performance issue due to where cmdstan
is being stored (background in this post), but I’ll be getting that resolved soon