Data analysis with R Notebook

Problem

Before starting my PhD, I used SPSS for statistical analysis. However, I decided to use R for reproducible science.

After having collected data for my first experiment, I tried a bunch of analyses and produced many R scripts. The results were exported mostly as a text file or an image file. When I started to write a paper, I realised that all the results I had were saved separately and I found it hard to compare each result.

This was my motivation to use R Notebook so that everyone can see an overview of my analyses on one single page and easily compare one result with another.

R Notebook

An R Notebook is an R Markdown document with chunks that can be executed independently and interactively, with output visible immediately beneath the input (ref).

Other notebooks?

When I faced my problem, I was thinking of using Jupyter Notebook as I also used Python a bit and have heard that you can run R scripts with Jupyter Notebook as well.

In theory, it does not matter whether you use Jupyter Notebook or R Notebook. I go for an easier option as a R user but there are of course pros and cons of using R Notebook (ref).

Started using R Notebook

I will update how it goes with my analyses using R Notebook…