Introduction to Jupyter

History and Status

Jupyter and the future of IPython


Basically, Download Continuum Anaconda

Once you have conda, you may install “R Essentials” into the current environment:

conda install -c r r-essentials


Here are some common usage:

  1. keyboard shortcut:

  2. Inspect data files:

    !head -n 5 filename.ext
  3. load, save, run file

  4. time the execution:

    %timeit range(1000)
    %%timeit x = range(10000)
    ...: max(x)
  5. for more magic and help:

  6. display html:

    from IPython.core.display import display, HTML
    display(HTML('<h1>Hello, world!</h1>'))
  7. display image:

    from IPython.display import Image, display
  8. display video:

    from IPython.display import YouTubeVideo
  9. create javascript:

    from IPython.display import Javascript