everything seems to get “frozen” with that function, in that I still can run other commands, but if I try to rerun brm() with different parameters, nothing happens:
R prints “Compiling Stan program…” and immediately (and apparently) finishes the computations without prompting any error message. But nothing has really happened, the variable fit3 in my code remains unchanged no matter what I try. I need to restart R to be able to run brm() again with different parameters, but that’s obviously a headache.
Any idea of what might be going wrong? I Maybe something related to the Stan compilation of the models?
Error in file(con, "r") : argumento 'description' inválido
Además: Warning messages:
1: In find.package(package, lib.loc, verbose = verbose) :
package ‘survival’ found more than once, using the first from
“C:/Users/URJC/Documents/R/win-library/4.0/survival”,
“C:/Program Files/R/R-4.0.2/library/survival”
2: In find.package(package, lib.loc, verbose = verbose) :
package ‘MASS’ found more than once, using the first from
“C:/Users/URJC/Documents/R/win-library/4.0/MASS”,
“C:/Program Files/R/R-4.0.2/library/MASS”
3: In find.package(package, lib.loc, verbose = verbose) :
package ‘base’ found more than once, using the first from
“C:/PROGRA~1/R/R-40~1.2/library/base”,
“C:/Program Files/R/R-4.0.2/library/base”
Hi, that’s the MWE. I if run it for the first time, everything is OK. If I change kappa from 10 to, say, 1000, and rerun brm() nothing happens, no error, just the message “Compiling Stan program…” but fit3 is not updated, brm() produces no new output.
Great! Two things to change here, first your Makevars.win file has some configurations that will cause issues with R & RTools 4.0. So we’ll reset those to some basic options: