I find this error after executing brm() in RStudio

"Error in compileCode(f, code, language = language, verbose = verbose) :

sh: C:/rtools40/usr/mingw_64/bin/g++: No such file or directorymake: *** [C:/PROGRA~1/R/R-41~1.0/etc/x64/Makeconf:245: file27147d1061ba.o] Error 127

In addition: Warning messages:

1: Using 'binomial' families without specifying 'trials' on the left-hand side of the model formula is deprecated.

2: In system(paste(CXX, ARGS), ignore.stdout = TRUE, ignore.stderr = TRUE) :

'C:/rtools40/usr/mingw_/bin/g++' not found

Error in sink(type = "output") : invalid connection"

Is there a solution?

More Proloy Barua's questions See All
Similar questions and discussions