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

Problem in unicode in R from jupyternotebook #731

Closed
githubPratima opened this issue Feb 3, 2023 · 1 comment
Closed

Problem in unicode in R from jupyternotebook #731

githubPratima opened this issue Feb 3, 2023 · 1 comment

Comments

@githubPratima
Copy link

githubPratima commented Feb 3, 2023

Someone, please help to solve this problem.. when I run some code in R kernel in jupyternotebook I am getting this error..

Your code contains a unicode char which cannot be displayed in your
current locale and R will silently convert it to an escaped form when the
R kernel executes this code. This can lead to subtle errors if you use
such chars to do comparisons. For more information, please see
https://github.com/IRkernel/repr/wiki/Problems-with-unicode-on-windows

Error in parse(text = x, srcfile = src): <text>:12:1: unexpected '<'
11: }
12: <
    ^
Traceback:
@flying-sheep
Copy link
Member

flying-sheep commented Feb 3, 2023

I accidentally deactivated the wiki page the link goes to. It’s restored now: https://github.com/IRkernel/repr/wiki/Problems-with-unicode-on-windows

In r-lib/evaluate#66, I commented that unicode is supported since R 4.2.

So please upgrade to R 4.2 and check if the problem is gone. I’m going to close this issue assuming it is solved with R 4.2. If not, please comment in this issue to let me know and I’ll reopen it and investigate. In that case, please also add a screenshot, and specify your R version.

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

2 participants