-
Notifications
You must be signed in to change notification settings - Fork 333
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
IRkernel doesn't work with CRLF line endings #312
Comments
I'm sorry for the delay in replying. Could you open the dev console (by pressing shift-ctrl-i) and post an screenshot? This will help us debug the issue. |
Are you using the latest version of the IRkernel? |
yes |
Hmm this is strange, on the Hydrogen side everything looks normal. I bet it has something to do with the line endings. Could you try running
I don't have IRkernel on my machine so I can only guess at the moment. |
I'll try to get a r kernel running on my windows VM so I can debug it. |
thank you very much :) |
OK I can reproduce this. |
IRkernel doesn't like windows style line endings. There is a easy fix for that: Click on @rgbkrk @n-riesco Should we ensure unix style line endings before sending code to a kernel or should this be handled by the kernel itself? |
It works! Thanks! |
Interesting. I don't think that's specified anywhere in the messaging spec. I'll raise an issue on jupyter-client. |
@igutierrezm In the next release this will be fixed so you can use |
thanks for providing this, very useful, I do use it with python and stata, but with R, as suggested by the readme, it should work with IRKernel, if I only select one line, it works well, but when select multi lines or the whole file, it shows:
the r code is:
The text was updated successfully, but these errors were encountered: