Comments (16)
4e29747 should fix it.
from radian.
For the record, it works fine on macOS.
from radian.
Data.table looks to be affected too:
data.table(a = 1:2, x = c("a", "b"))
#> ☻ÿþa♥ÿþ ☻ÿþx♥ÿþ
#>☻ÿþ1:♥ÿþ ☻ÿþ1♥ÿþ ☻ÿþa♥ÿþ
#>☻ÿþ2:♥ÿþ ☻ÿþ2♥ÿþ ☻ÿþb♥ÿþ
Not tibbles though:
tibble(a = 1:2, x = c("a", "b"))
#> # A tibble: 2 x 2
#> a x
#> <int> <chr>
#> 1 1 a
#> 2 2 b
from radian.
It works fine both on Cmder and Command Prompt.
from radian.
It looks like your R version is 3.4.3. Here's what I'm getting with 3.5:
from radian.
I assume that it works as expected in regular R, right?
TBH, I have no clues why it happens.
PS: I just installed Conemu, it also works as usual.
from radian.
Oh, yeah. I can reproduce it with R 3.5.
r$> "hello"
[1] "☻ÿþhello♥ÿþ"
from radian.
Yeah regular R works fine--I'm using cmder as well FWIW.
I dug around a bit in the R repo and didn't see any major changes to printing, nor was there anything in the release notes. Very odd.
from radian.
More odd,
r$> list(a = 1, b = 2)
$`☻ÿþa♥ÿþ`
[1] 1
$b
[1] 2
from radian.
for reason which i don't understand, "a"
is printed as "\x02\xff\xfea\x03\xff\xfe"
with the extra escaped characters.
from radian.
That is just odd...what has changed do you think?
from radian.
I notice that rstudio has code related to these escaped characters.
from radian.
The relevant commit from Joe Cheng, if you didn't see that already. Looks like R output needs to be homogenized to utf-8.
Still doesn't really explain why 3.5 should be different, but there you are.
from radian.
I don't know if this helps, but 0xFEFF
is the UTF-16 encoding of the byte order mark.
from radian.
@randy3k Confirmed working on Command Prompt and Cmder with the most recent version. Nice work!
from radian.
But I still don’t understand what happens to R 3.5 is causing this.
from radian.
Related Issues (20)
- Terminal crashed when execute `md.pattern(df)` in vscode
- Problem installing radian HOT 4
- Problem installing radian in Windows 11 - [ rchitect ]
- Cannot assign a a variable with its name being Chinese characters
- Problem in using read.table() by radian while it could be run normally in R gui HOT 2
- Radian 0.6.9 fails to run on python 3.12.1 HOT 6
- Unable to use radian with pyenv- or rtx-installed Pythons when libpython3.11 is installed on Debian
- `ctrl-enter` does not run command when linebreaks are used within function calls HOT 1
- Increasing font size generate another prompt HOT 6
- Prevention of new line insertion stop working after dplyr is imported HOT 2
- vi mode - normal and visualindicated the same way HOT 6
- Cannot handle `\b` correctly in version 0.6.10 HOT 4
- Unexpected Alt+Backspace behaviour on Mac HOT 2
- Feature request: optionally create and use local history file if it does not exist HOT 2
- radian fails to load package while base R works without a problem HOT 1
- ubuntu 23: radian fails to start HOT 2
- Colored text output not working HOT 1
- Syntax highlighting command outputs HOT 2
- Autocomplete not working in R interactive terminal HOT 2
- long string display
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radian.