Last updated: 2025-02-18

Checks: 2 0

Knit directory: Tutorials/

This reproducible R Markdown analysis was created with workflowr (version 1.7.1). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 397f9b2. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .DS_Store
    Ignored:    .RData
    Ignored:    .Rhistory
    Ignored:    data/.DS_Store

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/Install.Rmd) and HTML (docs/Install.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
html 5baa04e tkcaccia 2025-02-17 Build site.
html f26aafb tkcaccia 2025-02-17 Build site.
html 1ce3cb4 tkcaccia 2025-02-16 Build site.
html 681ec51 tkcaccia 2025-02-16 Build site.
html 9558051 tkcaccia 2024-09-18 update
html a7f82c5 tkcaccia 2024-09-18 Build site.
html 83f8d4e tkcaccia 2024-09-16 Build site.
html 159190a tkcaccia 2024-09-16 Build site.
html 6d23cdb tkcaccia 2024-09-16 Build site.
Rmd 8b0b07a tkcaccia 2024-09-16 Start my new project

Introduction

R is a powerful language and environment for statistical computing and graphics. RStudio is a popular integrated development environment (IDE) for R that makes R easier to use. In this guide, you will learn how to install both R and RStudio.

Step 1: Installing R

Windows

  1. Go to the Comprehensive R Archive Network (CRAN) website.
  2. Click on the Download R for Windows link.
  3. On the next page, click base to download the latest version of R.
  4. Once the file has downloaded, open it and follow the on-screen instructions to complete the installation.

macOS

  1. Go to the CRAN website.
  2. Click on the Download R for macOS link.
  3. Choose the appropriate version of R based on your macOS version.
  4. Download the .pkg file and open it to begin installation.
  5. Follow the on-screen instructions to complete the installation.

Linux

For Linux users, R can be installed via the terminal.

Ubuntu/Debian:

sudo apt update
sudo apt install r-base

Step 2: Installing Rstudio

Prerequisite: Install R

Before installing RStudio, you need to have R installed on your machine. Once R is installed, you can proceed with installing RStudio.

Step 1: Downloading RStudio

  1. Go to the official RStudio website.

  2. In the top menu, click on Products, and then select RStudio.

  3. Scroll down to the RStudio Desktop section and click Download RStudio.

  4. Under the Installers section, you will find the download links for the free version of RStudio Desktop. Click the Download button that matches your operating system:

    • Windows: Select the .exe installer.
    • macOS: Select the .dmg installer.
    • Linux: Select the .deb or .rpm installer, depending on your Linux distribution.

Step 2: Installing RStudio

Windows

  1. Once the .exe file is downloaded, open the installer by double-clicking on it.
  2. Follow the on-screen instructions to complete the installation.
  3. After the installation is complete, you can find RStudio in your Start Menu or Desktop and launch it.

macOS

  1. Open the downloaded .dmg file by double-clicking on it.
  2. Drag the RStudio icon into the Applications folder.
  3. Once installed, open RStudio from the Applications folder or Launchpad.

Linux

For Linux users, the installation varies depending on the distribution:

Ubuntu/Debian

  1. Open a terminal and use the following command to install the .deb package: ```bash sudo dpkg -i rstudio-.deb