Displaying 5 results from an estimated 5 matches for "r68378".
Did you mean:
768378
2015 May 25
2
Unicode display problem with data frames under Windows
Here's a data frame with some Unicode symbols (set intersection and union).
d <- data.frame(x = "A \u222a B \u2229 C")
Printing this data frame under R 3.2.0 patched (r68378) and Windows 7, I see
d
## x
## 1 A <U+222A> B n C
Printing the column itself works fine.
d$x
## [1] A ? B ? C
## Levels: A ? B ? C
The encoding is correctly UTF-8.
Encoding(as.character(d$x))
## [1] "UTF-8"
Under Linux both forms of printing are fine for me....
2015 May 25
5
Unicode display problem with data frames under Windows
...Richard Cotton" <richierocks at gmail.com> wrote:
>
> > Here's a data frame with some Unicode symbols (set intersection and union).
> >
> > d <- data.frame(x = "A \u222a B \u2229 C")
> >
> > Printing this data frame under R 3.2.0 patched (r68378) and Windows 7, I
> > see
> >
> > d
> > ## x
> > ## 1 A <U+222A> B n C
> >
> > Printing the column itself works fine.
> >
> > d$x
> > ## [1] A ? B ? C
> > ## Levels: A ? B ? C
> >
> > The encoding i...
2015 May 25
0
Unicode display problem with data frames under Windows
...May 25, 2015 9:39 AM, "Richard Cotton" <richierocks at gmail.com> wrote:
> Here's a data frame with some Unicode symbols (set intersection and union).
>
> d <- data.frame(x = "A \u222a B \u2229 C")
>
> Printing this data frame under R 3.2.0 patched (r68378) and Windows 7, I
> see
>
> d
> ## x
> ## 1 A <U+222A> B n C
>
> Printing the column itself works fine.
>
> d$x
> ## [1] A ? B ? C
> ## Levels: A ? B ? C
>
> The encoding is correctly UTF-8.
>
> Encoding(as.character(d$x))
> ##...
2015 May 26
0
Unicode display problem with data frames under Windows
...t gmail.com> wrote:
>>
>> > Here's a data frame with some Unicode symbols (set intersection and
>> > union).
>> >
>> > d <- data.frame(x = "A \u222a B \u2229 C")
>> >
>> > Printing this data frame under R 3.2.0 patched (r68378) and Windows 7, I
>> > see
>> >
>> > d
>> > ## x
>> > ## 1 A <U+222A> B n C
For future readers searching for a solution to this, you can get
correct printing by setting the CTYPE part of the locale to
Chinese/Japanese/Korean.
Sys...
2015 May 25
0
Unicode display problem with data frames under Windows
...s at gmail.com> wrote:
>>
>> > Here's a data frame with some Unicode symbols (set intersection and
>> union).
>> >
>> > d <- data.frame(x = "A \u222a B \u2229 C")
>> >
>> > Printing this data frame under R 3.2.0 patched (r68378) and Windows
>> 7, I
>> > see
>> >
>> > d
>> > ## x
>> > ## 1 A <U+222A> B n C
>> >
>> > Printing the column itself works fine.
>> >
>> > d$x
>> > ## [1] A ? B ? C
>> >...