Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display issue for the polars$DataFrame #499

Open
lux-orc opened this issue Nov 13, 2024 · 0 comments
Open

Display issue for the polars$DataFrame #499

lux-orc opened this issue Nov 13, 2024 · 0 comments

Comments

@lux-orc
Copy link

lux-orc commented Nov 13, 2024

I am using 0.6.13 on Windows 10, with VSCode v1.95.2. The R package Polars can be installed as:

> Sys.setenv(NOT_CRAN = "true")
> install.packages("polars", repos = "https://community.r-multiverse.org")

Using Rterm.exe in VSCode:

> require(polars)
Loading required package: polars
> pl$DataFrame(A = 1:4, B = 5:8)
shape: (4, 2)
┌─────┬─────┐
│ A   ┆ B   │
│ --- ┆ --- │
│ i32 ┆ i32 │
╞═════╪═════╡
│ 1   ┆ 5   │
│ 2   ┆ 6   │
│ 3   ┆ 7   │
│ 4   ┆ 8   │
└─────┴─────┘
>

However, if I am using radian.exe as the default R terminal:

r$> require(polars)
Loading required package: polars

r$> pl$DataFrame(A = 1:4, B = 5:8)
shape: (4, 2)
âââââââ¬ââââââ
â A   â B   â
â --- â --- â
â i32 â i32 â
âªâ¡
â 1   â 5   â
â 2   â 6   â
â 3   â 7   â
â 4   â 8   â
âââââââ´ââââââ

r$>

I was wondering if it is an encoding issue, or how to change the radian configuration file to correctly show the Polars DataFrame?

Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant