R kernel always die

132 views
Skip to first unread message

Mario Menezes

unread,
Nov 18, 2016, 6:05:51 PM11/18/16
to Project Jupyter
Hi,

  I´m trying to serve R kernel from my jupyterhub installation, but no matter what I try, the kernel always die.

  My jupyterhub installation is working fine, launching single-server notebooks for Python2 and Python3.

  I´ve installed r-essentials directly from Anaconda3 to avoid any conflict; no R installed at the system level.

  After installation, opened the R console (terminal) and run IRkernel::installspec(user = FALSE). The kernel appears in Jupyter menu, together  Python entires.

  I´m running a CentOS7 server, Jupyterhub running by root (sudo was not able to authenticate users), behing a nginx reverse proxy. 

  BTW, how to enable debug information in jupyterhub config?

  Bellow is my conda information, and attached my conda --list information.

  Appreciate any help.

Mario M.

  # conda info
Current conda install:

               platform : linux-64
          conda version : 4.2.12
       conda is private : False
      conda-env version : 4.2.12
    conda-build version : 2.0.2
         python version : 3.5.2.final.0
       requests version : 2.11.1
       root environment : /srv/anaconda3  (writable)
    default environment : /srv/anaconda3
       envs directories : /srv/anaconda3/envs
          package cache : /srv/anaconda3/pkgs
           channel URLs : https://conda.anaconda.org/r/linux-64
                          https://conda.anaconda.org/r/noarch
                          https://repo.continuum.io/pkgs/free/linux-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/pro/linux-64
                          https://repo.continuum.io/pkgs/pro/noarch
            config file : /root/.condarc
           offline mode : False


conda-list-20161118.txt

Peter Parente

unread,
Nov 18, 2016, 10:44:51 PM11/18/16
to Project Jupyter
Hi Mario,

Does your R kernel die immediately or after executing a command? If it's the latter, there's a known problem with the r-base package in Anaconda at the moment tracked here: https://github.com/ContinuumIO/anaconda-issues/issues/1063

conda install 'r-base=3.3.1 1' is a workaround.

Cheers,
Pete

Mario Menezes

unread,
Nov 19, 2016, 7:51:58 AM11/19/16
to Project Jupyter
Hi Peter,
  
   It dies after executing a command, e.g., library("dplyr"). 

   I'll try the workaraound (on Monday :-) and let you know. 

   Thanks for your attention.

   Regards,
Mário M.

Mario Menezes

unread,
Nov 21, 2016, 4:28:43 PM11/21/16
to jup...@googlegroups.com
Hi Peter,

   Good news! As you said, installing r-base (3.3.1 1) fixed the problem; I did  a few tests and it seems to be running smoothly now.
  
   Thanks for your help!

   Best regards,

Mário M.

--
Mario O.de Menezes, Ph.D.
"Many are the plans in a man's heart, but is the Lord's purpose that prevails" Pv 19.21
http://www.momenezes.com     -    LinuxUser: #24626



--
You received this message because you are subscribed to a topic in the Google Groups "Project Jupyter" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jupyter/aRWI9bnhWbY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/5ab6da5d-89b2-4047-a56a-ea435416c491%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages