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

R command throw UnicodeDecodeError #95

Open
Mari123i opened this issue May 11, 2022 · 3 comments
Open

R command throw UnicodeDecodeError #95

Mari123i opened this issue May 11, 2022 · 3 comments

Comments

@Mari123i
Copy link

Hello dear authors,

I have a very persistend problem I can't find a solution for. When executing almost all commands in cells with "%%R" get a similar Error like this:
cell probalmes utf8

utf-8 decoding

The cell that did work was this one: but for the imports I had to work around as you can see, since it threw an error:
worked and workaround

How can I resolve this or what may be the cause? My R version is 4.2.0 and I am on Windows 10 x64.

Thank you a lot,

Mariam

@LuckyMD
Copy link
Contributor

LuckyMD commented May 11, 2022

Hi Mariam,

I'm afraid I have no experience with windows at all, so I can't be of much help. The error suggests that there's a strange encoding of a particular character. Could you try retyping the command in full yourself instead of using the notebook command to see if anything changes? I wonder if the way the comma is encoded in the command might be interpreted strangely.

@Mari123i
Copy link
Author

I tried typing it but get the same error unfortunately. A simple command like this works:
%%R
j_1 = 1
print(1==j_1)

I tried to check wether equal signs are a problem or underscores.

@Mari123i
Copy link
Author

I tried it also this way: same error
no
and checked all the chars of the input string
utf8
this is so weird because the character it is complaining about is not even there
no ü

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