Versions Compared

Key

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

...

The notebooks are configured so that any new conda environment you create (see Installing Library Packages in Anaconda) will automatically create can be configured to show a corresponding kernel launcher on your Jupyter homepage. For this reason, we recommend that users primarily install packages via Anaconda, rather than pip or CRAN, where possible.

...

  1. Open a Terminal window from the homepage.
  2. Create a new conda environment to install your package in, conda create --name myshinynewenv nb_conda_kernels
  3. Activate your new environment, conda activate myshinynewenv
  4. Install your package, e.g.   conda install -c conda-forge recordlinkage
  5. You can also install from pip in the traditional way, ensuring you activate the environment (step 3) that you want to install the package into first.
  6. When you close the Terminal window and return to the homepage you should see a new python kernel with the same name as your new conda environment.

...

  1. Open a Terminal window from the homepage.
  2. If you want to use your new package within R Studio then just install it into the base environment.
  3. If you want to use it within Jupyter R then create a new env as in steps 2 and 3 in the Python section above.
  4. Install your package, e.g. conda install -c r r-terra
  5. You can also install from CRAN in the traditional R way.

If you prefer a GUI...

  1. On the top menu bar, go to Settings → Conda Package Manager
  2. This may take several minutes to load, but when it does you'll see your current environments and all of the packages installed in them.
  3. You can create new environments and install packages via this visual UI.

Using GIT

The notebooks are set up to be able to pull and push to the SAIL Gitlab. You can set this up how you set it up on your SAIL Desktop (see How to use GITLAB within SeRP, and instructions on the internal SAIL wiki).

...