Errors when using cmdstan_model()

Try adding C:\RBuildTools\3.5\mingw_64\bin to PATH and restart RStudio.

Thx!

Now it works!

3 Likes

@Siquan-Wang glad it’s working, thanks for your patience and not giving up!

Thanks @rok_cesnovar and @mitzimorris for helping sort this out.

2 Likes

hi @rok_cesnovar - is there a way to eliminate use of cut utility from makefiles? - users keep hitting this problem.
offending lines are here:

stan/lib/stan_math/make/compiler_flags:61:CXX_MAJOR := $(shell $(CXX) -dumpversion 2>&1 | cut -d'.' -f1)
stan/lib/stan_math/make/compiler_flags:62:CXX_MINOR := $(shell $(CXX) -dumpversion 2>&1 | cut -d'.' -f2)

Done: Duplicated check cleanup and remove use of GNU cut by rok-cesnovar · Pull Request #2126 · stan-dev/math · GitHub

Thanks for pointing it out.

2 Likes