Compilation Error

relatively new to Stan here. windows 11, rstudio.
So here’s the thing, i’m not able to install Rtools 4.3 on ‘c:’ in this pc, because of corporative issue, so i installed it in program files. i have an enviromental variable named RTOOLS43_HOME with path set to ‘C:\Program Files\rtools43’

When running

example(stan_model, run.dontrun = TRUE)

i get the following:

Compilation ERROR, function(s)/method(s) not created!
Error in compileCode(f, code, language = language, verbose = verbose) :
Error in system(paste(MAKE, p1(paste(“-f”, shQuote(makefiles))), “compilers”), : ‘make’ not foundCalls: → .shlib_internal → systemEjecución interrumpida

thanks in advance

You need to put all the utilities on your path. I’m not entirely sure how to do that in Windows, but if you pull up a terminal, you should be able to execute make --version and get output.