Problem with loading the brms library for Bayesian LMM in RStudio

hello! I want to use the package brms for bayesian LMM modeling in RStudio. I have successfully installed and unpacked cmdstanr, and brms. Also, the C++ toolchain required for CmdStan is already setup. However, when I run library(brms) i get this error:

Error: package or namespace load failed for ‘brms’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Users/Maria Althea Ariza/Documents/R/win-library/4.0/rstan/libs/x64/rstan.dll':
LoadLibrary failure: The specified procedure could not be found.
In addition: Warning message:
package ‘brms’ was built under R version 4.0.5

Are there other packages that i need to install? What should i do so that i can use brms package in R for bayesina LMM? Thank you

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.