s-u / REngine

General Java interface to R supporting multiple back-ends such as JRI and Rserve
Other
67 stars 47 forks source link

Update RTest.java - Test NA/NaN support in double vectors fails on different locales #2

Closed AlexBurdu closed 1 year ago

AlexBurdu commented 10 years ago

test fails if the operating system is using comma "," as a decimal separator.

s-u commented 10 years ago

Note that running R in locales with LC_NUMERIC set to anything other than C is unsupported, since a lot of things break. That's why R always sets LC_NUMERIC to C by default. Therefore I'm inclined to not merge this, because this failed test shows that you're running JRI is an unsupported environment. The other alternative would be to enforce LC_NUMERIC=C by JRI.