See the notebook online here!
-
Install Anaconda, a Python environment manager.
-
Setup a R environment with conda.
a) Follow the R Notebook tutorial up until it tells you to create a notebook in the browser (use
v3.7.11 Python
and the latestR
if you are running the jupyter-notebook on Windows 10.)This is due to an dependency error for Python >=v3.8. Read more about the issue here.
-
Install R packages through Anaconda.
a) Open your commandline (Anaconda installation comes with one).
b) Activate your notebook env.
conda activate name_of_your_env_you_created
c) Install the following R packages.
conda install -c r r-tidyverse conda install -c r r-lubridate conda install -c r r-ggplot2 # (you might not need to install this one, depending on what is pre-installed for you by Anaconda) conda install -c r r-plotly conda install -c conda-forge r-cowplot
-
Edit the notebook in the browser (or your jupyter supported editor/IDE) as you please!
Following this tutorial:
Run these steps after every major update to publish the changes.
With the right conda env activated, make sure that you have an installation of jupyter-book
.
Conda:
conda install -c conda-forge jupyter-book
.
- In a terminal (with the conda environment activated), move to the notebook directory.
cd C:/ABSOLUTE/PATH/TO/PROJECT/ROOT/FOLDER
- Run
jupyter-book build .
. - Run
ghp-import -n -p -f _build/html
.