beaker - gher-uliege/Documentation GitHub Wiki

General

Beaker is a notebook-style development environment for working interactively with large and complex datasets.
It can be called "Polyglot" as it allows users to have different languages in different cells, depending on what is installed on their machine.

According to https://blog.dominodatalab.com/interactive-data-science/:
"Beaker's slick interop capabilities seamlessly translate data between languages."

The first public release in April 2014.

Installation

From source

The tool is available from http://beakernotebook.com/downloads

Tests have been performed with the version beaker-notebook-1.7.1-0-g6dac09a-ubuntu.zip.
The compilation went fine but some languages could not be installed or are installed but don't work.

Using docker

They also provide a docker, including these languages:
Python, Python3, R, Groovy, Julia, Node, JavaScript, SQL, C++, Scala, Clojure, and Java.

Installation slow but successful.

Using Anaconda

Seems the recommended method, not tested yet.

Language management

In principle, if the language is present in your machine, you can run it using beaker.
A language manager allows you to select what you need:
beaker_languages

For example for latex (essentially equations, not formated text):
beaker_latex

Configuration

There is a file called

~/.beaker/v1/config/beaker.pref.json

that contains the path to the different languages:

{
  "languages" : {
    "R" : {
      "path" : "/usr/local/bin"
    },
    "Julia": {
      "path" : "/usr/local/bin"
    }
  },
  "autocomplete-parameters" : "true",
  "pref-format" : "1",
  "edit-mode" : "default"
}

Up to now this does not work.

Auto-Translation

A nice feature called Auto-Translation was designed to provide the possibility to use data across languages.

Example: Python and D3.

Fails

  • ipython
  • python3
  • R
  • Julia

Language Error
Failed to start .

Tutorial

⚠️ **GitHub.com Fallback** ⚠️