Mixed Models Module

Everything related to the development of modules in jamovi
User avatar
mcfanda@gmail.com
Posts: 457
Joined: Thu Mar 23, 2017 9:24 pm

Re: Mixed Models Module

Post by mcfanda@gmail.com »

weired things happening here :-).
After checking all versions (that seem to be ok), here is what happens: If I open jamovi, load a file, run any standard module that uses car (say ANOVA), then run one of my module analyses (say GLM), everything works fine.

If I open jamovi, load the same file, and run GLM as the first analysis, it crashes at the line where car::Anova is executed and exit with exit code -11

On the other workstation of mine (ubuntu 16), everything works fine
User avatar
mcfanda@gmail.com
Posts: 457
Joined: Thu Mar 23, 2017 9:24 pm

Re: Mixed Models Module

Post by mcfanda@gmail.com »

and the same goes with "lsmeans" package. If I run any other modules that uses it (ANOVA post-hoc) first, it works on my module too. If I run my module first, it crashes at the line when lsmeans is executed.
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Mixed Models Module

Post by jonathon »

at a guess, this would be a compiler mismatch issue. jamovi for linux (and it's native packages) need to be built with gcc 5.4. (i didn't consider this angle when prepping for artful)

the easiest way to get up and running here, would be to copy the required native R packages from /usr/lib/jamovi/Resources/modules/jmv/R, into your modules build/R

i can't think of a good solution for this off the top of my head (there's likely not a good one).

jonathon
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Mixed Models Module

Post by jonathon »

actually, possibly an R version mismatch ...

i'll be taking a look at this today.

cheers
User avatar
mcfanda@gmail.com
Posts: 457
Joined: Thu Mar 23, 2017 9:24 pm

Re: Mixed Models Module

Post by mcfanda@gmail.com »

Hi
the "coping strategy" from /usr/lib/jamovi/Resources/modules/jmv/R, does not work :-(
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Mixed Models Module

Post by jonathon »

righto. just working on this now.
User avatar
mcfanda@gmail.com
Posts: 457
Joined: Thu Mar 23, 2017 9:24 pm

Re: Mixed Models Module

Post by mcfanda@gmail.com »

In the meantime I finished the multinomial and fixed the estimated marginal means and post-hoc for all models. As soon as I can compile it all push it on github. BTW, lsmeans package rocks!!
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Mixed Models Module

Post by jonathon »

incidentally, lsmeans is being discontinued. you should check out emmeans.

http://cran.r-project.org/package=emmeans

i'll forward you the email i received

jonathon
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Mixed Models Module

Post by jonathon »

hey, sorry this took so long.

if you update jamovi and jmvtools you should be gtg.

however, you'll have the same issue with viridis and viridisLite, so copy viridisLite from /usr/lib/jamovi/Resources/modules/jmv/R into gamlj/build/R before building.

cheers

jonathon
User avatar
mcfanda@gmail.com
Posts: 457
Joined: Thu Mar 23, 2017 9:24 pm

Re: Mixed Models Module

Post by mcfanda@gmail.com »

and I'm indeed go to go. thanks a lot
cheers
marcello
Post Reply