Prof Brian Ripley a écrit :
I can reproduce this via
Sys.setlocale(LC_NUMERIC, fr_FR)
[1] fr_FR
Warning message:
setting 'LC_NUMERIC' may cause R to function strangely in:
setlocale(category, locale)
as.numeric(,1)
[1] 0,1
as.numeric(.1)
[1] NA
Warning message:
NAs introduced by
This seems to be a conflict between GTK+ and R. Apparently, GTK+ sets the
locale by itself. There is a way to prevent GTK+ from doing that. I will
release a hotfix for RGtk2 soon and we'll see if it fixes it. I just need to
run gtk_disable_setlocale() before gtk_init_check().
Thanks for reporting