-
Notifications
You must be signed in to change notification settings - Fork 297
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
Issue in R kernel, when more than one line exist in a cell #7472
Comments
@mgorjis The position of the ^ in the error message, and the highlighting in the screenshot, makes me think that there might be a non-ASCII whitespace character after '3' and '5'. Could you make sure there are no characters after '3' and '5' and try again? |
I'm on a mac, is this because we might be sending CRLF to the R kernel? |
@andycraig Definitely I have not added any non-ASCII characters to the line. When I save the notebook in VS code, and open it again in jupyter lab, it works completely fine. Thanks |
@mgorjis Thanks for confirming and checking it works in Jupyter Lab. @DonJayamanne I haven't had a chance to look into this properly yet but Hydrogen had a similar issue with the R kernel and CRLF so you're almost certainly right I'd say. nteract/hydrogen#312 |
Duplicate of #4576 |
Fixed, it should be in Mondays insiders and next releease |
Environment data
Expected behaviour
a <- 2 + 3
b <- 4 + 5
Actual behaviour
provides this error when using R kernel
ERROR: Error in parse(text = x, srcfile = src): :1:11: unexpected input
1: a <- 2 + 3
^
Error in parse(text = x, srcfile = src): :1:11: unexpected input
1: a <- 2 + 3
^
Traceback:
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Logs
Output for
Jupyter
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toJupyter
)The text was updated successfully, but these errors were encountered: