Displaying 20 results from an estimated 2825 matches for "lc_collate".
2014 Jul 19
1
patch about mingwbuild 4.9.1
...================================================================
--- Makefile(版本 66200)
+++ Makefile(工作副本)
@@ -148,7 +148,7 @@
ifeq "$(WIN)" "64"
R.dll: $(OBJS) $(OBJS-EXTRA) $(MAINLIBS) $(EXTRALIBS) dllversion.o
@$(ECHO) EXPORTS > R.def
-@$(NM) $^ | $(SED) -n $(SYMPAT) | LC_COLLATE=C $(SORT) | uniq > R0.def
+@$(NM) $^ | $(SED) -n $(SYMPAT) | LC_COLLATE=C $(SORT) | uniq |$(SED) '/.refptr./d' > R0.def
@$(SED) -e's/@.*//' Rdll.hide | LC_COLLATE=C $(SORT) > R1.def
@LC_COLLATE=C comm -23 R0.def R1.def >> R.def
$(DLL) -shared $(DLLFLAGS) $($*-DLLF...
2015 Feb 16
2
LC_COLLATE variable?
Le 15/02/2015 16:38, Michael Volz a ?crit :
> Hi,
>
> to my knowledge
>
> echo "LC_COLLATE=fr_FR.UTF-8" >> /etc/locale.conf
>
> is the right way to do that.
Unfortunately that didn't work. Putting LC_COLLATE in /etc/locale.conf
does nothing.
Now what?
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'?glise - 30730 Montpez...
2015 Feb 15
3
LC_COLLATE variable?
...desktop in french. LANG is set to fr_FR.UTF-8.
In GNOME 3, the menu entries are listed in alphabetical order.
Unfortunately, entries beginning with an accented character (like
"?diteur de texte") appear at the bottom of the list.
I know that in order to correct this, I have to set the LC_COLLATE
variable to fr_FR.UTF-8. What would be a sensible place to do this
system-wide under CentOS 7?
Cheers,
Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'?glise - 30730 Montpezat
Web : http://www.microlinux.fr
Mail : info at microlinux.fr
T?l. : 04 6...
2014 Apr 14
0
best way to write tests when sort() evaluates differently in R CMD check due to LC_COLLATE locale setting?
Dear R devel,
What is the correct way to write package tests that could possibly fail
due to locale collation behavior? Is it safe/proper for me to call
Sys.setlocale("LC_COLLATE", "en_US.UTF-8") in each test file? Or should
I explicitly force collation to C before writing tests? Or do I need to
always call sort() on my comparison objects to ensure they are sorted in
the same locale-specific way?
I'd had a strange situation where a package test I...
2006 Oct 26
1
Error: invalid multibyte string
...#39;"\\xFF"')
Error: invalid multibyte string
However,
cat("\x7F\n\x80\n...\xFF\n")
works. Using R --vanilla.
SYSTEMS GIVING THE ERROR:
> sessionInfo()
R version 2.4.0 (2006-10-03)
x86_64-unknown-linux-gnu
locale:
LC_CTYPE=en_AU.UTF-8;LC_NUMERIC=C;LC_TIME=en_AU.UTF-8;LC_COLLATE=en_AU.UTF-8;LC_MONETARY=en_AU.UTF-8;LC_MESSAGES=en_AU.UTF-8;LC_PAPER=en_AU.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_AU.UTF-8;LC_IDENTIFICATION=C
R version 2.4.0 Patched (2006-10-03 r39576)
i686-pc-linux-gnu
locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLA...
2004 Jun 23
3
Similar error as (PR#6958)
When compiling R 1.9.1 on a Linux system with the environment variable
LANG=3Dno_NO, I get a similar error as reported in PR#6958:
## FACTS:
$ locale
LANG=3Dno_NO
LC_CTYPE=3D"no_NO"
LC_NUMERIC=3D"no_NO"
LC_TIME=3D"no_NO"
LC_COLLATE=3D"no_NO"
LC_MONETARY=3D"no_NO"
LC_MESSAGES=3D"no_NO"
LC_PAPER=3D"no_NO"
LC_NAME=3D"no_NO"
LC_ADDRESS=3D"no_NO"
LC_TELEPHONE=3D"no_NO"
LC_MEASUREMENT=3D"no_NO"
LC_IDENTIFICATION=3D"no_NO"
LC_ALL=3D
$ cd /usr/s...
2015 Feb 15
0
LC_COLLATE variable?
Hi,
to my knowledge
echo "LC_COLLATE=fr_FR.UTF-8" >> /etc/locale.conf
is the right way to do that.
Regards,
Michael
Am 15.02.2015 um 08:43 schrieb Niki Kovacs:
> Hi,
>
> I'm running my CentOS 7 desktop in french. LANG is set to fr_FR.UTF-8.
>
> In GNOME 3, the menu entries are listed in alphabetical...
2015 Feb 16
0
LC_COLLATE variable?
Le 16/02/2015 07:18, Niki Kovacs a ?crit :
> Le 15/02/2015 16:38, Michael Volz a ?crit :
>> Hi,
>>
>> to my knowledge
>>
>> echo "LC_COLLATE=fr_FR.UTF-8" >> /etc/locale.conf
>>
>> is the right way to do that.
>
> Unfortunately that didn't work. Putting LC_COLLATE in
> /etc/locale.conf does nothing.
>
> Now what?
>
Hi,
I think in Centos 7, it's now localectl (systemd) is the way to do t...
2019 Oct 07
2
R from EPEL 8 missing dependency on glibc-langpack
...r image:
docker run -it centos:8 bash
And then in docker:
yum install epel-release
yum config-manager --set-enabled PowerTools
yum install R-devel
Installation succeeds but when I start R:
During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_COLLATE failed, using "C"
3: Setting LC_TIME failed, using "C"
4: Setting LC_MESSAGES failed, using "C"
5: Setting LC_MONETARY failed, using "C"
6: Setting LC_PAPER failed, using "C"
7: Setting LC_MEASUREMENT failed, using "C"
Installing glibc-la...
2014 Nov 22
3
R string comparisons may vary with platform (plain text)
...aybe someone should look into it. Sorry I haven?t taken the time to read
the source code myself.
Thanks,
Stuart
R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Platform: x86_64-unknown-linux-gnu (64-bit)
Sys.getlocale()
[1]
"LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF
-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_
NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICA
TION=C"
"-1" > "1"
[1] TRUE
"-1" <"1"
[1] FALSE
"1" < "-1"
[...
2006 Mar 17
2
collation order
The following caused a hard-to-diagnose problem for a user of the survey
package. Presumably this is a strange Unicode thing, but is there a
convenient reference for how the collation order is determined? I am
surprised that adding the same character to the end of two strings of the
same length can change the sorting order.
in en_US.utf8 locale
> "1//"<"10/"
[1]
2016 Apr 05
2
Under Windows, Rgui and Rterm crash if one tries to close the graphic device while identify or locator are running
...our on 2 different Windows PC (one with Win 8.1
and one with Win 10).
I did not see the problem in linux (see below)
WINDOWS **************
> sessionInfo()
R version 3.3.0 beta (2016-04-04 r70420)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 10586)
locale:
[1] LC_COLLATE=Italian_Italy.1252 LC_CTYPE=Italian_Italy.1252
[3] LC_MONETARY=Italian_Italy.1252 LC_NUMERIC=C
[5] LC_TIME=Italian_Italy.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
> sessionInfo()
R version 3.2.2 Patched (2015-09-29 r69441)
Platform: x86_...
2011 Jun 30
1
testInstalledBasic
Hello,
I installed R 2.13.0 on a Windows 2003 server.? I downloaded the Rtools213.exe from http://www.murdoch-sutherland.com/Rtools/ and placed it in the path (C:\Program Files\R\R-2.13.0\bin).
I submitted the following code:
library(tools)
Sys.setenv(LC_COLLATE=C)
testInstalledBasic('basic')
I get the following message in the R Console, which I believe corresponds to a failure of the test:
> library(tools)
> Sys.setenv(LC_COLLATE=C)
> testInstalledBasic('basic')
running strict specific tests
? running code in ?eval-etc.R?
? comp...
2002 Feb 26
1
Locale problems on Solaris
Hi there.
With OpenSSH 3.0.2p1 on Solaris, the locale does not appear to get set
correctly at login, as it does with, say telnet:
/etc/default/init:
TZ=GB
CMASK=022
LC_COLLATE=en_GB.ISO8859-1
LC_CTYPE=en_GB.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_GB.ISO8859-1
LC_NUMERIC=en_GB.ISO8859-1
LC_TIME=en_GB.ISO8859-1
When logging in via SSH:
scot /home/scot > locale
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"...
2015 Aug 13
2
Bug in rank with utf8?
...0663"
> y <- 3
>
> x == y
[1] FALSE
> rank(c(x, y))
[1] 2 1
> x
[1] "?"
> x == y
[1] FALSE
> x > y
[1] TRUE
> x < y
[1] FALSE
> Sys.getlocale()
[1] "en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8"
> Sys.getlocale("LC_COLLATE")
[1] "en_US.UTF-8"
Notice the differences from en_US.UTF8 (sans hyphen) on your system....
-pd
On 13 Aug 2015, at 16:01 , John McKown <john.archie.mckown at gmail.com> wrote:
> 2015-08-13 8:39 GMT-05:00 Hadley Wickham <h.wickham at gmail.com>:
>
>> x <...
2015 Aug 13
3
Bug in rank with utf8?
x <- "\u0663"
y <- 3
x == y
# FALSE
rank(c(x, y))
# c(1.5, 1.5)
--
http://had.co.nz/
2017 Jun 23
2
LC_TIME not set correctly by Sys.setlocale() ?
...ts that LC_TIME is changed to the new
setting after use of Sys.setlocale(), as.Date() still uses the old
settings. The only way to update this is by specifically using LC_TIME.
Is this a bug or am I overlooking something?
Example:
> Sys.setlocale(locale = "French_Belgium")
[1]
"LC_COLLATE=French_Belgium.1252;LC_CTYPE=French_Belgium.1252;LC_MONETARY=French_Belgium.1252;LC_NUMERIC=C;LC_TIME=French_Belgium.1252"
> date <- "Dec-11"
> as.Date(date, format = "%b-%d")
[1] NA # expected
> Sys.setlocale(locale = "English_United Kingdom")
[1]...
2008 Sep 09
2
Problem of "sort" utf8 file.
Hi all,
I have 2 linux distro ?? ubuntu and centos.
My problem is that the sort command has different behavior when
sorting Chinese string encoded in utf8 file.
On Ubuntu, it is OK. But on CentOS, it WRONG.
I google this problem and it seems that's because of LC_COLLATE.
So I change "/etc/sysconfig/i18n" on CentOS and now the 2 have the
same LC_** like this:
CentOS:
=============================
[root at localhost ~]# locale
LANG=zh_CN.UTF-8
LC_CTYPE=zh_CN.UTF-8
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE=zh_CN.UTF-8
L...
2014 Nov 23
2
R string comparisons may vary with platform (plain text)
...s. If it?s not some setting I?m unaware of,
>> maybe someone should look into it. Sorry I haven?t taken the time to read
>> the source code myself.
>
> Looks like a collation order issue. See ?Comparison.
With the oddity that both platforms use what look like similar locales:
LC_COLLATE=en_US.UTF-8
LC_COLLATE=en_US.utf8
/Henrik
>
> Duncan Murdoch
>
>> Thanks,
>> Stuart
>>
>> R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
>> Platform: x86_64-unknown-linux-gnu (64-bit)
>> Sys.getlocale()
>> [1]
>> "LC_CTYPE...
2007 Oct 10
2
download.file not working
...aphics.xls",destfile="whodem.xls")
trying URL 'http://www.who.int/entity/whosis/whostat2006_demographics.xls'
Content type 'application/vnd.ms-excel' length 77824 bytes
opened URL
downloaded 76Kb
> sessionInfo()
R version 2.5.0 (2007-04-23)
i386-pc-mingw32
locale:
LC_COLLATE=Swedish_Sweden.1252;LC_CTYPE=Swedish_Sweden.1252;LC_MONETARY=Swedish_Sweden.1252;LC_NUMERIC=C;LC_TIME=Swedish_Sweden.1252
attached base packages:
[1] "stats" "graphics" "grDevices" "utils" "datasets" "methods"
[7] "base&quo...