Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleRunning your own Jupyter Notebook environment

Using Anaconda Navigator

The easiest way to set up JupyterLab to run on your own computer for this course is to use Anaconda.

  1. Install Anaconda for your platform

  2. Open Anaconda Navigator

  3. Create a new Environment to store your work

    1. On the left, click Environments

    2. Click Create

    3. Give your new environment a name (environment name) and choose to include R

    4. Click Create. It may take a while for your environment to appear.

  4. With your new environment active click Home on the left

  5. Click Install under JupyterLab

  6. Click Launch under JupyterLab

Using Command Line and Miniconda

  1. Open a terminal/powershell window

  2. Create your environment with these commands (The $ represents the command prompt for your shell)

	$ conda create -n environment name $ conda activate environment name
(environment name) $ conda install -c conda-forge r-base r-essentials
(environment name) $ conda install -c conda-forge jupyterlab
(environment name) $ Rscript.exe pkg-list.R
(environment name) $ jupyter lab

...