Displaying 4 results from an estimated 4 matches for "subnonstandardcharact".
2014 Dec 15
3
Making iconv portable?
...I ask, because I want to convert accented characters to vanilla ASCII, thereby converting, e.g., ?Ra?l? to ?Raul?, and Milan Bouchet-Valet suggested on R-help that I use 'iconv(x, ?", "ASCII//TRANSLIT?)?. This worked under Windows but failed on Linux and Mac. It?s part of the ?subNonStandardCharacters? function in the Ecfun package. The development version on R-Forge uses this and returns ?Raul? under Windows and NA under Mac OS X (and presumably also Linux).
The ?iconv? R code merely calls compiled code, which I?ve used very little in 30 years.
Thanks,
Spencer
> On...
2014 Dec 15
2
Making iconv portable?
...characters to
>> vanilla ASCII, thereby converting, e.g., ?Ra?l? to ?Raul?, and
>> Milan Bouchet-Valet suggested on R-help that I use 'iconv(x,
>> ?", "ASCII//TRANSLIT?)?. This worked under Windows but failed
>> on Linux and Mac. It?s part of the ?subNonStandardCharacters?
>> function in the Ecfun package. The development version on
>> R-Forge uses this and returns ?Raul? under Windows and NA
>> under Mac OS X (and presumably also Linux).
>
> Hmm.
>
> R> iconv("Ra?l", "", "ASCII//TRANSLIT")...
2014 Dec 15
1
Making iconv portable?
...vanilla ASCII, thereby converting, e.g., ?Ra?l? to ?Raul?, and
>>>> Milan Bouchet-Valet suggested on R-help that I use 'iconv(x,
>>>> ?", "ASCII//TRANSLIT?)?. This worked under Windows but failed
>>>> on Linux and Mac. It?s part of the ?subNonStandardCharacters?
>>>> function in the Ecfun package. The development version on
>>>> R-Forge uses this and returns ?Raul? under Windows and NA
>>>> under Mac OS X (and presumably also Linux).
>>>
>>> Hmm.
>>>
>>> R> iconv(&quo...
2014 Dec 15
0
Making iconv portable?
...t;>> vanilla ASCII, thereby converting, e.g., ?Ra?l? to ?Raul?, and
>>> Milan Bouchet-Valet suggested on R-help that I use 'iconv(x,
>>> ?", "ASCII//TRANSLIT?)?. This worked under Windows but failed
>>> on Linux and Mac. It?s part of the ?subNonStandardCharacters?
>>> function in the Ecfun package. The development version on
>>> R-Forge uses this and returns ?Raul? under Windows and NA
>>> under Mac OS X (and presumably also Linux).
>>
>> Hmm.
>>
>> R> iconv("Ra?l", "",...