The IPython Notebook is an interactive computational environment, in which you can combine code execution, rich text, mathematics, plots and rich media. It aims to be an agile tool for both exploratory computation and data analysis, and provides a platform to support reproducible research, since all inputs and outputs may be stored in a one-to-one way in notebook documents.
Thanks to IRKernel, Jupyter kernel for the R programming language the notbook project contains also R code. Here is the intallation cmd line:
install.packages(c('repr', 'pbdZMQ', 'devtools')) # repr is already on CRAN
devtools::install_github('IRkernel/IRdisplay')
devtools::install_github('IRkernel/IRkernel')
IRkernel::installspec()
to be continued...
Since Scala is a great family language with an interactive tool (REPL), working with jupyter is a awesome experience. To make it happen i chose jupyter-scala.
$ cd jupyter-scala
$ pip install --upgrade "ipython[all]"
$ ipython kernelspec list
$ jupyter-scala
Here is a simple jupyter cell with scala code.
import scala.math._
println sys.env("HOME")
val t = 0.1
val foo = for(i <- 0 until 10 by 2) yield {
pow(t, i)*exp(-t)
}
...
Most of Lab report implies a simple python script. It cant also be stored here. See also: the Labs report repo https://github.com/DivLoic/TP-LabSession
...