Page 1 of 1

Variable names in different language

Posted: Wed Feb 06, 2019 2:16 am
by davidville
Hello,
All is great with JAMOVI and I use it a lot.
I can change the names of variables using a different language (Hebrew) and One-way ANOVA has no problems.
But ANOVA, MANCOVA and linear regression (at least) give me an error:
<text>:1:10: unexpected symbol 1:cbind( .....etc.....
I was wondering if there might be a fix for this?
Thank you so much

Re: Variable names in different language

Posted: Thu Feb 07, 2019 9:18 pm
by Ravi
Hi david,

Can you attach the .omv file where this happens?\

Cheers,
Ravi

Re: Variable names in different language

Posted: Tue Feb 12, 2019 11:57 pm
by davidville
Here is an example but it happens in other files as well

Re: Variable names in different language

Posted: Wed Feb 13, 2019 1:34 am
by jonathon
so the issue here is that a lot of R packages don't handle unicode very well, so we re-encode the variable names into what's called base 64 (an encoding which only uses 0-9a-zA-Z_.). then we prefix them with a . because names in R can't begin with an _. the issue here is that hebrew characters have the misfortune of being encoded to something like:

.15DFx

and R looks at the '.15' and says "ok, so this is a number", and spits the dummy when it gets to the DFx.

so it's likely an issue which only affects the hebrew language, because, coincidentally, hebrew characters get encoded to begin with numbers.

anyhow, all i need to do is change the prefix . to something else, say an x

x15DFx

and the problem is solved.

this will be fixed in the next release.

cheers

jonathon