SublimeREPL
SublimeREPL copied to clipboard
unicode error in R
I am using MacOS 10.13.3, R 3.4.3, and ST3 build 3143.
I am not getting good handling of unicode characters in sublimeREPL R.
When I send library(tidyverse)
to a fresh sublimeREPL (via SendCode), it outputs:
-- Attaching packages --------------------------------------- tidyverse 1.2.1 --
<U+221A> ggplot2 2.2.1 <U+221A> purrr 0.2.4
<U+221A> tibble 1.4.1 <U+221A> dplyr 0.7.4
<U+221A> tidyr 0.7.2 <U+221A> stringr 1.2.0
<U+221A> readr 1.1.1 <U+221A> forcats 0.2.0
-- Conflicts ------------------------------------------ tidyverse_conflicts() --
x dplyr::filter() masks stats::filter()
x dplyr::lag() masks stats::lag()
When I send this same command to a fresh R session in terminal, iTerm, R GUI, and RStudio, it outputs:
── Attaching packages ─────────────────────────────────────── tidyverse 1.2.1 ──
✔ ggplot2 2.2.1 ✔ purrr 0.2.4
✔ tibble 1.4.1 ✔ dplyr 0.7.4
✔ tidyr 0.7.2 ✔ stringr 1.2.0
✔ readr 1.1.1 ✔ forcats 0.2.0
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag() masks stats::lag()
e.g. the unicode checkmarks work.
I can confirm the same on MacOS 10.13.5/R 3.5.0/ST3 Build 3175. The behavior also affects representation of various characters (i.e. long space) in text data.