1. Linux

  • Note: Do not install on a headless machine because R and RStudio require a graphical user interface.

1.1. Installation

  • Enter the following commands at a Command Line.

    
    wget https://download1.rstudio.org/electron/bionic/amd64/rstudio-2023.03.0-386-amd64.deb
    sha256sum rstudio-2023.03.0-386-amd64.deb       # d71b670e3d0f5829d3cf107bba5d4da547ddcc010f62bccf758229891f1a16a4
    
    sudo apt-get install libclang-dev libpq5 libxkbcommon-x11-0
    sudo dpkg -i rstudio-2023.03.0-386-amd64.deb
    rstudio --version

2. Windows

2.1. Installation

  • Note: RStudio requires R version 3.6.0 or later.

  • Install R.

  • Run the RStudio-2024.04.1-748.exe file with administrative privileges.

  • Click Next.

    C:\Program Files\RStudio
  • Click Next.

  • Uncheck Do not create shortcuts.

  • Click Install.

  • Click Finish.

2.2. Usage

  • Start RStudio.

  • Optional: First time only after installation.

    • Choose Use your machine’s default 64-bit version of R.

    • Select Rendering Engine: | Auto-detect (recommended).

    • Click OK.

  • Close RStudio.