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 »

Hi
I just got a feedback that in windows 10 the interaction "star", U+273D, shows up as "<9c>", whereas in linux and mcos it shows up fine. I thought I solve it and push 0.9.6, when my windowz VM stops misbehaving.
By the way, do you ever encounter this problem?
The user says It does not happen in jmv modules.
Farscape
Posts: 11
Joined: Wed Nov 15, 2017 3:04 pm

Re: Mixed Models Module

Post by Farscape »

Yes, it shows as 9c in windows 10.
User avatar
mcfanda@gmail.com
Posts: 457
Joined: Thu Mar 23, 2017 9:24 pm

Re: Mixed Models Module

Post by mcfanda@gmail.com »

As far as I can tell from my sloppy windows VM it seems fixed now. Please push 0.9.6 to jamovi library (it also fixes the issue with multinomial plots)
thanks
marcello
User avatar
MAgojam
Posts: 421
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

Re: Mixed Models Module

Post by MAgojam »

mcfanda@gmail.com wrote:Hi
I just got a feedback that in windows 10 the interaction "star", U+273D, shows up as "<9c>", whereas in linux and mcos it shows up fine. I thought I solve it and push 0.9.6, when my windowz VM stops misbehaving.
By the way, do you ever encounter this problem?
The user says It does not happen in jmv modules.
Hi,
I just compiled and installed the master 0.9.6, but the problem still occurs in win 10 and 7, only for the GAMLj module.
I attach a screen.

Best regards.
Maurizio
Attachments
GAMLj_Asterisco.png
GAMLj_Asterisco.png (133.93 KiB) Viewed 15651 times
User avatar
mcfanda@gmail.com
Posts: 457
Joined: Thu Mar 23, 2017 9:24 pm

Re: Mixed Models Module

Post by mcfanda@gmail.com »

thanks, I'll check it out
User avatar
mcfanda@gmail.com
Posts: 457
Joined: Thu Mar 23, 2017 9:24 pm

Re: Mixed Models Module

Post by mcfanda@gmail.com »

Ok, I'm giving another try (0.9.7), Please be indulgent, I am not longer familiar with windows as I used to be :-)
User avatar
MAgojam
Posts: 421
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

Re: Mixed Models Module

Post by MAgojam »

Hi,
with revision 0.9.7, the star given for missing, has returned to its place :')

Thank you so much.
Maurizio
User avatar
mcfanda@gmail.com
Posts: 457
Joined: Thu Mar 23, 2017 9:24 pm

Re: Mixed Models Module

Post by mcfanda@gmail.com »

when possible, I'd like 0.9.7 to be pushed in the library
thanks
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Mixed Models Module

Post by jonathon »

hey! don't put HTML in there! :P

Code: Select all

.nicifyTerms<-function(term) {
  term<-gsub("`","",term,fixed = T)
  gsub(":"," 	&#10045 ",term)
}
you can do it this way:

Code: Select all

.nicifyTerms<-function(term) {
  term<-gsub("`","",term,fixed = T)
  gsub(":",getOption('jmvTermSep', ':'),term)
}
but this approach won't work properly if one of the variable names contain a backstick.

probably the best way would be:

Code: Select all

.nicifyTerms<-function(term) {
  term <- jmvcore::decomposeTerm(term)
  term <- jmvcore::stringifyTerm(term)
  term
}
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 »

Thanks Jonathon,

I pushed a new master (0.9.7) with the last version of .nicifyTerm() as you suggested. In linux works well, it should be ok in other OS too.
Post Reply