Page 6 of 10

Re: Mixed Models Module

Posted: Thu Nov 02, 2017 8:25 am
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

Re: Mixed Models Module

Posted: Thu Nov 02, 2017 8:36 am
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.

Re: Mixed Models Module

Posted: Thu Nov 02, 2017 8:43 am
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

Re: Mixed Models Module

Posted: Thu Nov 02, 2017 8:16 pm
by jonathon
actually, possibly an R version mismatch ...

i'll be taking a look at this today.

cheers

Re: Mixed Models Module

Posted: Thu Nov 02, 2017 11:44 pm
by mcfanda@gmail.com
Hi
the "coping strategy" from /usr/lib/jamovi/Resources/modules/jmv/R, does not work :-(

Re: Mixed Models Module

Posted: Thu Nov 02, 2017 11:47 pm
by jonathon
righto. just working on this now.

Re: Mixed Models Module

Posted: Thu Nov 02, 2017 11:49 pm
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!!

Re: Mixed Models Module

Posted: Thu Nov 02, 2017 11:52 pm
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

Re: Mixed Models Module

Posted: Sat Nov 04, 2017 9:14 am
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

Re: Mixed Models Module

Posted: Sun Nov 05, 2017 10:43 am
by mcfanda@gmail.com
and I'm indeed go to go. thanks a lot
cheers
marcello