Rj and coding problems with strings with accented letters...

Everything related to the development of modules in jamovi
Post Reply
User avatar
MAgojam
Posts: 421
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

Rj and coding problems with strings with accented letters...

Post by MAgojam »

Hi, @jonathon.
I wanted to tell you that in the Rj Editor module (1.0.6), if one or more nominal variables (Data Type: Text) contains strings with accented letters, the R function used is unsuccessful (both with jamovi R and with System R).
This does not happen, for example, using the same function from RStudio.
Obviously if you delete these strings with accented letters, with other encodings, everything works.
It may happen that you receive a db with many of these variables with encodings as indicated and modifying the whole is a big job.
For clarity, I enclose a screenshot of jamovi run in debug mode and the use of a simple summary on one of these variables.
ScreenShot.png
ScreenShot.png (219.57 KiB) Viewed 6719 times
Do you think something can be done?

Thanks as always.

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

Re: Rj and coding problems with strings with accented letter

Post by jonathon »

yeah, this is tricky, both R and windows don't handle unicode very well. so it often leads to breakage which is difficult to fix.

i'll take a look.

cheers

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

Re: Rj and coding problems with strings with accented letter

Post by jonathon »

i've pushed out a 1.0.8 version of Rj, see if that fixes the issue for you.

cheers

jonathon
User avatar
MAgojam
Posts: 421
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

Re: Rj and coding problems with strings with accented letter

Post by MAgojam »

Hi, Jonathon.
Thank you for your interest and time, unfortunately there are no favorable changes.
I am attaching a screenshot to support.
ScreenShot.PNG
ScreenShot.PNG (234.2 KiB) Viewed 6662 times
Cheers.
Maurizio
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Rj and coding problems with strings with accented letter

Post by jonathon »

OK, try with the latest 0.9.6.6 ... i think i've fixed it now.

cheers
User avatar
MAgojam
Posts: 421
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

Re: Rj and coding problems with strings with accented letter

Post by MAgojam »

jonathon wrote:OK, try with the latest 0.9.6.6 ... i think i've fixed it now.
Hi, @Jonathon.
I had no doubt, Problem solved.

Thank you for your time and speed in solving problems.
Can you even find the time to sleep?

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

Re: Rj and coding problems with strings with accented letter

Post by jonathon »

no worries. i appreciate you taking the time to report the issue.

cheers

jonathon
Post Reply