As raised on S.O. here and here
The issue is that fread uses C function strtod which retrieves the decimal separator from the current locale. Either we'd need to find another function or set the locale and be careful to set it back again. Knowing the locale name to change to is tricky to do in a portable way, and then we'd need to check it really does provide the desired dec.
As raised on S.O. here and here
The issue is that fread uses C function strtod which retrieves the decimal separator from the current locale. Either we'd need to find another function or set the locale and be careful to set it back again. Knowing the locale name to change to is tricky to do in a portable way, and then we'd need to check it really does provide the desired dec.