Page 9 of 10

Re: Mixed Models Module

Posted: Fri Dec 15, 2017 4:09 pm
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.

Re: Mixed Models Module

Posted: Fri Dec 15, 2017 6:09 pm
by Farscape
Yes, it shows as 9c in windows 10.

Re: Mixed Models Module

Posted: Fri Dec 15, 2017 6:46 pm
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

Re: Mixed Models Module

Posted: Fri Dec 15, 2017 9:17 pm
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

Re: Mixed Models Module

Posted: Fri Dec 15, 2017 9:30 pm
by mcfanda@gmail.com
thanks, I'll check it out

Re: Mixed Models Module

Posted: Fri Dec 15, 2017 9:37 pm
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 :-)

Re: Mixed Models Module

Posted: Fri Dec 15, 2017 10:23 pm
by MAgojam
Hi,
with revision 0.9.7, the star given for missing, has returned to its place :')

Thank you so much.
Maurizio

Re: Mixed Models Module

Posted: Fri Dec 15, 2017 10:43 pm
by mcfanda@gmail.com
when possible, I'd like 0.9.7 to be pushed in the library
thanks

Re: Mixed Models Module

Posted: Fri Dec 15, 2017 11:06 pm
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

Re: Mixed Models Module

Posted: Sat Dec 16, 2017 12:01 pm
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.