decimal symbol

Everything related to the development of modules in jamovi
Post Reply
vjalby
Posts: 23
Joined: Tue Oct 24, 2023 4:52 pm
Contact:

decimal symbol

Post by vjalby »

Hi all,

I wonder how I could get the value of the (new) jamovi decimal symbol option (comma, dot) from a R script ?

Thanks.
User avatar
yurismol
Posts: 55
Joined: Sat May 27, 2023 6:40 am
Location: Chita
Contact:

Re: decimal symbol

Post by yurismol »

decopt <- getOption("OutDec")
vjalby
Posts: 23
Joined: Tue Oct 24, 2023 4:52 pm
Contact:

Re: decimal symbol

Post by vjalby »

Thanks yurismol. But I think it gives R default. Not jamovi's default. Actually, I found it :

Code: Select all

self$options$decSymbol
User avatar
jonathon
Posts: 2927
Joined: Fri Jan 27, 2017 10:04 am

Re: decimal symbol

Post by jonathon »

i actually think both will work ... jamovi sets the 'OutDec' option ...
Post Reply