Hi,
I'm interested in the suggestion to use writeLines( ...,
useBytes=TRUE), but how can I use this function on the way to
exporting from R? Could you please provide a simple example?
The following suggestion worked very well:
> funny.g<- "\u1E21"
> rawstuff<- charToRaw(funny.g)
> writeBin(rawst
>>>
>>> > funny.g<- "\u1E21"
>>> > funny.g
>>
>> [1] "ḡ"
>>
>>> > data.frame (funny.g) -> funny.g
>>> > funny.g$funny.g
>>
>> [1] ḡ
>> Levels:
>
> I think the problem is in the data.frame code, not in writing. Data.frames
> try to display things in a readable way, and since you're on Windows w
On 15/07/2011 1:42 PM, Sverre Stausland wrote:
>>>
>>> >funny.g<- "\u1E21"
>>> >funny.g
>>
>> [1] "ḡ"
>>
>>> >data.frame (funny.g) ->funny.g
>>> >funny.g$funny.g
>>
>> [1] ḡ
>> Levels:
>
> I think the problem is in the data.frame code, not in writing. Data.frames
> tr
On 15/07/2011 1:42 PM, Sverre Stausland wrote:
>>>
>>> >funny.g<- "\u1E21"
>>> >funny.g
>>
>> [1] "ḡ"
>>
>>> >data.frame (funny.g) ->funny.g
>>> >funny.g$funny.g
>>
>> [1] ḡ
>> Levels:
>
> I think the problem is in the data.frame code, not in writing. Data.frames
> tr
On 11-07-14 7:11 PM, Sverre Stausland wrote:
> funny.g<- "\u1E21"
> funny.g
[1] "ḡ"
> data.frame (funny.g) -> funny.g
> funny.g$funny.g
[1] ḡ
Levels:
I think the problem is in the data.frame code, not in writing.
Data.frames try to display things in a readable way, and since you're on
Dear helpers,
I am not able to export Unicode characters from R. Below is an example
where the Unicode character is correctly rendered as long as I am stay
within R. When I export it, the character appears only with its basic
code, and the same happens when I import it back into R . I'm using R
2.
6 matches
Mail list logo