Hi,
... so something like this? [in foo.R]
old.coll <- Sys.getlocale("LC_COLLATE")
Sys.setlocale("LC_COLLATE", locale="C")
Sys.setlocale("LC_COLLATE", locale=old.coll)
Cheers,
Marius
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/
On 15/06/2014 17:34, Marius Hofert wrote:
Hi,
Thanks for you help. I use R-devel under Ubuntu 14.04, here is the output of
sessionInfo():
sessionInfo()
R Under development (unstable) (2014-06-02 r65832)
Platform: x86_64-unknown-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_N
Hi,
Thanks for you help. I use R-devel under Ubuntu 14.04, here is the output of
sessionInfo():
> sessionInfo()
R Under development (unstable) (2014-06-02 r65832)
Platform: x86_64-unknown-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8LC_C
On 15/06/2014 12:16, Duncan Murdoch wrote:
On 15/06/2014, 1:15 AM, Marius Hofert wrote:
Hi,
If I use invisible(Sys.setlocale("LC_COLLATE", "C")) in ~/.Rprofile, then
sort(c("L.Y", "Lu", "L.Q"))
[1] "L.Q" "L.Y" "Lu"
whereas using invisible(Sys.setlocale("LC_COLLATE", "en_US.UTF-8")) results
On 15/06/2014, 1:15 AM, Marius Hofert wrote:
> Hi,
>
> If I use invisible(Sys.setlocale("LC_COLLATE", "C")) in ~/.Rprofile, then
>
>> sort(c("L.Y", "Lu", "L.Q"))
> [1] "L.Q" "L.Y" "Lu"
>
> whereas using invisible(Sys.setlocale("LC_COLLATE", "en_US.UTF-8")) results in
>
>> sort(c("L.Y", "Lu", "L
On 15/06/2014 07:45, Pascal Oettli wrote:
Hello,
Please provide your sessionInfo(). I don't see this issue with R 3.1.0
Patched on Linux.
Nor on any of my platforms.
We would also need to know if ICU was found when R was installed: see
?Comparison .
Regards,
Pascal
On Sun, Jun 15, 2014
Hello,
Please provide your sessionInfo(). I don't see this issue with R 3.1.0
Patched on Linux.
Regards,
Pascal
On Sun, Jun 15, 2014 at 2:15 PM, Marius Hofert
wrote:
> Hi,
>
> If I use invisible(Sys.setlocale("LC_COLLATE", "C")) in ~/.Rprofile, then
>
>> sort(c("L.Y", "Lu", "L.Q"))
> [1] "L.Q"
Hi,
If I use invisible(Sys.setlocale("LC_COLLATE", "C")) in ~/.Rprofile, then
> sort(c("L.Y", "Lu", "L.Q"))
[1] "L.Q" "L.Y" "Lu"
whereas using invisible(Sys.setlocale("LC_COLLATE", "en_US.UTF-8")) results in
> sort(c("L.Y", "Lu", "L.Q"))
[1] "L.Q" "Lu" "L.Y"
I know this issue has appeared alr
8 matches
Mail list logo