Displaying 3 results from an estimated 3 matches for "oloc".
Did you mean:
loc
2017 May 19
2
test fails when requesting LC_CTYPE
...failed "yesterday" where as far as I recall the test code looked a
bit different.
Best,
Kasper
> ## Results differed by platform, but some gave incorrect results on
string 10.
>
>
> ## str() on large strings (in multibyte locales; changing locale may not
work everywhere
> oloc <- Sys.getlocale("LC_CTYPE")
> mbyte.lc <- {
+ if(.Platform$OS.type == "windows")
+ "English_United States.28605"
+ else if(grepl("[.]UTF-8$", oloc, ignore.case=TRUE)) # typically
nowadays
+ oloc
+ else
+ "C.UTF-8&q...
2017 May 20
1
test fails when requesting LC_CTYPE
...ail.com>
>>>>> on Fri, 19 May 2017 20:09:24 -0400 writes:
> I rebuilt R with
> export LC_CTYPE=en_US.UTF-8
> and the test still fail. Surprisingly, when I run R from the bin directory
> and execute the test code, it runs without error:
>> oloc <- Sys.getlocale("LC_CTYPE")
>> mbyte.lc <- {
> + if(.Platform$OS.type == "windows")
> + "English_United States.28605"
> + else if(grepl("[.]UTF-8$", oloc, ignore.case=TRUE)) # typically nowadays
> + oloc...
2017 May 20
0
test fails when requesting LC_CTYPE
I rebuilt R with
export LC_CTYPE=en_US.UTF-8
and the test still fail. Surprisingly, when I run R from the bin directory
and execute the test code, it runs without error:
> oloc <- Sys.getlocale("LC_CTYPE")
> mbyte.lc <- {
+ if(.Platform$OS.type == "windows")
+ "English_United States.28605"
+ else if(grepl("[.]UTF-8$", oloc, ignore.case=TRUE)) # typically
nowadays
+ oloc
+ else
+ "C.UTF-8&q...