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 does not work #332

Closed
ghost opened this issue Sep 30, 2021 · 4 comments
Closed

R does not work #332

ghost opened this issue Sep 30, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented Sep 30, 2021

Hi,

I installed SoS polyglot, but R does not work.

I used conda to install SoS locally

I get this error when I am trying to use R in Jupiter Notebook.

image

@BoPeng
Copy link
Contributor

BoPeng commented Sep 30, 2021

Please check

  1. If r works "normally" outside of SoS notebook.
  2. If Python kernel works inside of SoS notebook (after installing sos-python)
  3. if you have installed sos-r

If all answers are yes, please send me output of jupyter kernelspec list --json as a start.

@ghost
Copy link
Author

ghost commented Oct 1, 2021

Thanks. Indeed case 1 fails to run in Jupyter ( R works normally outside any python env, e.g. via my Rstudio). I will investigate, but happy if you have any thoughts.

@BoPeng
Copy link
Contributor

BoPeng commented Oct 1, 2021

There are many tutorials but you can check https://vatlab.github.io/sos-docs/running.html#r

@ghost
Copy link
Author

ghost commented Oct 1, 2021

Thank you that is great. For the record, I fixed the problem with iRkernel and Jupyter. The solution that worked for me I found it here: https://stackoverflow.com/questions/44056164/jupyter-client-has-to-be-installed-but-jupyter-kernelspec-version-exited-wit

I will give now a shot to see if SoS would run smoothly after this.

@BoPeng BoPeng closed this as completed Oct 1, 2021
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