So I’ve been trying to check my stan code to verify everything is ok, but I keep getting that error:
Error in system(command, as.integer(flag), f, stdout, stderr, timeout) :
character string expected as first argument
In addition: Warning message:
In system2(file.path(R.home(component = “bin”), “R”), args = “CMD config CC”, :
running command ‘“C:/PROGRA~1/R/R-40~1.4/bin/x64/R” CMD config CC’ had status 1
I’m not sure how to fix it!
I can only gather that you are using rstan, but would need more information to try to find out what’s not working (also not being an rstan user I may not be able to help at all)? As it is it looks pretty cryptic to me.