Questions tagged [iruby]

IRuby is a Ruby kernel for Jupyter project.

14 questions
5
votes
1 answer

iruby no bash commands possible in jupyter notebook

I am using iruby in my jupyter notebook and the kernel is working as expected and accepting all kind of ruby syntax Unfortunately the %%bash command leads to an error. So no console commands are usable in my notebook. If i switch back to the basic…
F.M.
  • 193
  • 2
  • 8
5
votes
1 answer

Nyaplot generates no plot in iruby running in jupyterhub

I'm trying to set up a Ruby kernel within an existing multi-user jupyterhub installation. It works in all of my tests, except that plots created by nyaplot (the only plotting package I could find that works within iruby) don't show up in the…
5
votes
3 answers

iRuby kernel keeps getting killed

I am Ruby with Homebrew on macOS Sierra 10.12.3. I installed jupyter with pip install and iruby with gem install When I run iruby notebook the server starts fine but while creating a new notebook Kernel is always killed with following log.…
Sarvex
  • 763
  • 2
  • 7
  • 19
3
votes
1 answer

rbczmq error when installing iruby

Am trying to install iruby on a windows machine and this error keeps appearing. Am currently doing some deep learning and I need to use sciruby and iruby to perform the actions required PS C:\> gem install iruby Temporarily enhancing PATH to…
Chris K. Mucheke
  • 114
  • 1
  • 2
  • 6
3
votes
2 answers

iruby notebook only runs python

I have a new laptop and have installed python 2.7.9 and ipython 3.0.0. I then installed iruby. Unfortunately, the iruby server runs fine with $ iruby notebook -- but the Jupyter notebook only runs python kernels. I'm sure there's some subtle bug in…
Charlie Martin
  • 110,348
  • 25
  • 193
  • 263
1
vote
1 answer

SciRuby Jupyter notebook ouputs table and html

I am using IRuby kernel with Jupyter Notebooks on Windows. I have unexpected behaviour when using the IRuby table display functionality. The following code is supposed to display a table of the array created: arr =…
Gerhard
  • 6,850
  • 8
  • 51
  • 81
1
vote
0 answers

Loading Rails into an iRuby Jupyter notebook for deployment on AWS ECS

My end goal is to provide a Jupyter Notebook that can run any code that I would normally run from a Rails console, so that our data scientists can make notebooks using directly the models from our existing Rails app, and easily draw/refresh some…
1
vote
1 answer

Is it possible to obtain last evaluated value in iruby on jupyter?

I use iruby on jupyter. In ipython, one can obtain last evaluated value by local variable _. Is it possible to do somehow achieve it in iruby?
Yuki Inoue
  • 3,569
  • 5
  • 34
  • 53
1
vote
2 answers

How to input a string in IRuby + Jupyter?

I'm using iruby on Jupyter. In python kernel (ipython), one can input a string from notebook by calling input() function. Is it possible to achieve the same thing in iruby?
Yuki Inoue
  • 3,569
  • 5
  • 34
  • 53
1
vote
1 answer

In Daru, how do I display multiple DataFrames in single Cell?

In daru + iruby on jupyter, how can I display multiple tables of Daru::DataFrame within a single cell?
Yuki Inoue
  • 3,569
  • 5
  • 34
  • 53
0
votes
0 answers

How to use widgets to take inputs in Jupyter notebook with ruby

I am a rookie and trying to use Jupyter Notebook with ruby and I want to create an interactive notebook with widgets. Something like this.(pic below) This is easily achievable with ipywidgets in python. But I don't know how to do this with ruby. I…
0
votes
1 answer

Jupyter and IRuby: how to reset all variables befor executing a cell?

For study I am using IRuby in Jupyter. How to reset all all variables before executing a cell? I need the equivalent of %reset for IPython. I want to be sure that values from previous cells don't interfere with the ones I am working on.
Alex Poca
  • 2,406
  • 4
  • 25
  • 47
0
votes
0 answers

Display multiple graphs in iRuby

I'm trying to display multiple graphs, and each graph have two subplots, with horizontal layout, in one output in iRuby, running on google Colaboratory. I first used Nyaplot, but it doesn't work. I don't know why, but it simply gave me no…
LegenDUST
  • 142
  • 9
0
votes
1 answer

Failure: gem install rbczmq due to autogen error

I am trying to add IRuby kernel into my Jupyter so that I can write notes on Ruby, as I just started learning to solve problems in Ruby. On the IRuby doc, I am supposed to do the following commands: gem install rbczmq gem install iruby However,…
Nahua Kang
  • 366
  • 1
  • 7
  • 19