Open richlysakowski opened 4 years ago
I am not sure, but it seems like this issue is traced to a clash between an update to numpy
and old versions of rpy2
.
I uninstalled rpy2
and reinstalled the latest development branch (from Github), which has made some windows fixes (https://github.com/rpy2/rpy2/issues/584).
This seems to have introduced a new host of issues, so I had to update the paths as described here (https://github.com/rpy2/rpy2/issues/619). It is now working for me.
As soon as I use RWinout, I get a fatal error that requires me to restart Jupyter NB server, it kills the Jupyter Notebook Python kernel.
I wish I could get this to work, because polyglot NBs with Plotly-Dash, Jupyter NB extensions like Qgrid, and many others make a nice combination for richly interactive data science applications, without having to run additional servers like RShiny or others.
I can load rpy2 and use its functions and objects, but not R cell magics.
###################################################### Here's my version information:
R version: ('3', '6.0', '', 76424) Rpy2 veresion: 2.9.4 Python version 3.7.4: jupyter core : 4.5.0 jupyter-notebook : 6.0.1 qtconsole : 4.5.5 ipython : 7.8.0 ipykernel : 5.1.2 jupyter client : 5.3.3 jupyter lab : 1.1.4 nbconvert : 5.6.0 ipywidgets : 7.5.1 nbformat : 4.4.0 traitlets : 4.3.3 7.8.0 Everything was installed in this environment using Anaconda Navigator, or conda from the command console, unless pip install was required for something that didn't have a conda package.
Conda is the strongly preferred package manager for anything to do with the Jupyter ecosystem, because it is designed to be language-agnostic.
######################################################
The R inline magics produce output into the Jupyter Output Cell, but R cell magics put the results out to the Windows Console that I used to start the Jupyter Notebook.
As soon as I run RWinOut, the errors below show up and the kernel dies.
I also get the following messages in the Windows Console:
The strange thing is that inline R magics work okay, but NOT Cell magics.
When I run RWinOut as follows:
I get a long string of errors (below). It also kills the Python kernel for the Jupyter NB.