[R] brms error

farzana.akbari farzana.akbari at stu-mail.um.ac.ir
Fri Sep 16 15:45:03 CEST 2016


 

“IN THE NAME OF GOD”   

  HI DEAR 

 I AM A M.SC. STUDENT OF ACCOUNTING IN FERDOWSI UNIVERSITY OF MASHHAD
AND I WANT TO USE BRMS PACKAGE FOR BAYSIAN MULTILEVEL ANALYSIS FOR MY
RESEARCH 

 I INSTALL RSTAN AND RTOOLS AND BRMS BUT I CANNOT SOLVE THIS PROBLEM OF
(ERROR). 

 I AM SOMEWHAT NEW IN R AND I DO NOT KNOW WHAT SHOULD I DO?! 

data("kidney") 

fit1 <- brm(formula = time | cens(censored) ~ age * sex + disease + (1 +
age|patient), data = kidney, family = lognormal(), prior =
c(set_prior("normal(0,5)", class = "b"), set_prior("cauchy(0,2)", class
= "sd"), set_prior("lkj(2)", class = "cor")), warmup = 1000, iter =
2000, chains = 4, control = list(adapt_delta = 0.95)) 

 Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created!
C:/Rtools/mingw_64/lib/gcc/x86_64-w64-mingw32/4.9.3/include/tmmintrin.h:
In function
'run':C:/Rtools/mingw_64/lib/gcc/x86_64-w64-mingw32/4.9.3/include/tmmintrin.h:188:32:
error: '__builtin_ia32_palignr128' needs isa option -m32 -mssse3
(__v2di)__Y, __N * 8);
^C:/Rtools/mingw_64/lib/gcc/x86_64-w64-mingw32/4.9.3/include/tmmintrin.h:188:32:
error: '__builtin_ia32_palignr128' needs isa option -m32 -mssse3
(__v2di)__Y, __N * 8); ^lto-wrapper: C:\Rtools\mingw_64\bin\g++.exe
returned 1 exit
statusC:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe:
lto-wrapper failedcollect2.exe: error: ld returned 1 exit status 

I HAVE SENT YOU DETAILS IN ATTACH FILE. IF YOU HELP ME, I WILL BE VERY
TANKFUL  

 BEST REGARDS 

FARZANA AKBARI 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: BRMS.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20160916/b87d6424/attachment.txt>


More information about the R-help mailing list