Questions tagged [jupyter-irkernel]

An R kernel for Jupyter

Homepage

163 questions
53
votes
24 answers

jupyter-client has to be installed but “jupyter kernelspec --version” exited with code 127

I have already installed Jupyter notebook in my ubuntu 16.04 machine. In jupyter notebook there is by default python installed. Now I want to use R from jupyter notebook. To do so I followed IRkernel installation link and run below…
Md Sirajus Salayhin
  • 4,974
  • 5
  • 37
  • 46
20
votes
2 answers

Using ipython magics in R jupyter notebook?

I installed jupyter with conda install jupyter and am running a notebook with the r kernal installed from conda create -n my-r-env -c r r-essentials I am running a notebook and want to run a bash command from a shell. !echo "hi" Error in parse(text…
elsherbini
  • 1,596
  • 13
  • 23
15
votes
3 answers

Unable to load IRKernel in Jupyter notebook

I'm pretty new to the forum, so I'm sorry if this question has already been answered. I looked around, and although I saw that some had similar issues, I couldn't find the solution to my problem on any previous posts. So - here goes... I'm running…
A. Vislova
  • 343
  • 2
  • 3
  • 10
14
votes
4 answers

How to solve the ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text' in Jupyter Notebook inside the Pycharm IDE?

I am using Pycharm 2018.2 version in ubuntu 18.04 and I am trying to use the JupyterNoteBook inside the pycharm it's been loading and creating a new notebook. But the cell in the Jupyter always shows busy and it throws some error like…
Bhavani K
  • 163
  • 1
  • 1
  • 13
14
votes
2 answers

Haskell under Jupyter

The Internet is strangely absent of instructions on how to get Haskell running under the Jupyter environment. Any documentation that leads you toward this requires you to compile from source, however when attempting to do so, all sorts of build…
Daisha Lynn
  • 459
  • 1
  • 4
  • 16
12
votes
3 answers

Display Images from file in R Jupyter notebook

I have an image on disk and want to display it in a markdown cell in an R Jupyter Notebook. How can I go about this? I know with Python this as simple as importing the Image class from display.
user3617525
  • 123
  • 1
  • 4
11
votes
2 answers

jupyter notebook and github.

I have made a jupyter notebook and want to commit and push on github. I have windows operating system and never worked on github. Can anyone please help me out about how can I do it from scratch?
Nizam
  • 147
  • 1
  • 1
  • 8
10
votes
1 answer

How to see all rows of a data frame in a Jupyter notebook with an R kernel?

When I put a data frame into a cell, it shows only some of the rows, with a "..." in the middle. Edit: I'm looking for R equivalents of these Python notebook calls: import pandas # "If max_cols is exceeded, switch to truncate…
dfrankow
  • 20,191
  • 41
  • 152
  • 214
7
votes
0 answers

Increase size of rleaflet map in Jupyter Lab display (R in Jupyter)

When using R and rleaflet in a Jupyter Lab Notebook. My output map is short and wide with a vertical scroll box, and I can find no means of increasing it's height. # Code to reproduce library(leaflet) m = leaflet() %>% addTiles() m results in:
Colin Talbert
  • 454
  • 6
  • 20
7
votes
2 answers

Map keyboard shortcut to code snippet in Jupyter Lab

Does anyone know if there a way to bind a code snippet to a keyboard shortcut in Jupyter Lab? For example in R Studio you can use Ctrl+Shift+M to write the pipe operator (%>%) quickly and I got used to that functionality so I would like to replicate…
Sraffa
  • 1,658
  • 12
  • 27
6
votes
1 answer

How to restart the server in jupyter hub through command line?

I have an instance of Jupyter running in Jupyter hub where there was an option to start/restart server as shown below: I then changed the theme using the command jt -t Now, I can't see the option to stop and restart my server in my…
P H
  • 294
  • 1
  • 3
  • 16
6
votes
2 answers

Can Jupyter run a separate R notebook from within a Python notebook?

I have a Jupyter notebook (python3) which is a batch job -- it runs three separate python3 notebooks using %run. I want to invoke a fourth Jupyter R-kernel notebook from my batch. Is there a way to execute an external R notebook from a Python…
JeremyDouglass
  • 1,361
  • 2
  • 18
  • 31
6
votes
3 answers

Hiding code in jupiter in R

I would like to try to produce reports (pdf and probably html) in jupyter using R kernel. However, I would like to hide code in two ways, depending on audience: all code cells some code cells When I have looked for this I found answers for python…
Bartek
  • 173
  • 1
  • 9
5
votes
2 answers

r graphs in jupyter - unable to start png() device

I am using R in Jupyter, but unable to plot graphs in the notebook itself. Here is a reproducible example set.seed(123) mat = as.matrix(x = rnorm(100), y = rnorm(100)) plot(mat) In Jupyter: Error in png(tf, width, height, "in", pointsize, bg,…
Gaurav Singhal
  • 998
  • 2
  • 10
  • 25
5
votes
1 answer

Using Vi Keys in a Jupyter Console

I would like to know how to use vi-like key bindings in a Jupyter console -- not just with ipython, but with any kernel. Previous answers show this is possible for ipython. So, perhaps there is some flag or config file where this can be specified.…
Joe Shields
  • 113
  • 6
1
2 3
10 11