Machine Learning A-Z™: Hands-On Python & R In Data
  • Introduction
  • Introduction
    • Introduction
  • Section 1: Welcome to the course!
    • 1. Applications of Machine Learning
    • 2. Why Machine Learning is the Future
    • 3. Important notes, tips & tricks for this course
    • 4. Installing Python and Anaconda (Mac, Linux & Windows)
    • 5. Update: Recommended Anaconda Version
    • 6. Installing R and R Studio (Mac, Linux & Windows)
    • 7. BONUS: Meet your instructors
  • Section 2: Part 1 Data Preprocessing
    • 8. Welcome to Part 1 - Data Preprocessing
    • 9. Get the dataset
    • 10. Importing the Libraries
    • 11. Importing the Dataset
    • 12. For Python learners, summary of Object-oriented programming: classes & objects
    • 13. Missing Data
    • 14. Categorical Data
    • 15. WARNING - Update
    • 16. Splitting the Dataset into the Training set and Test set
    • 17. Feature Scaling
    • 18. And here is our Data Preprocessing Template!
    • Quiz 1: Data Preprocessing
  • Section 3: Part 2 Regression
    • 19. Welcome to Part 2 - Regression
  • Section 4: Simple Linear Regression
    • 20. How to get the dataset
    • 21. Dataset + Business Problem Description
    • 22. Simple Linear Regression Intuition - Step 1
    • 23. Simple Linear Regression Intuition - Step 2
Powered by GitBook
On this page
  • DOWNLOADING AND INSTALLING THE REQUIRED R PACKAGES
  • Downloading and installing R distribution
  • Downloading and Installing RStudio IDE
  • Opening and customizing RStudio
  1. Section 1: Welcome to the course!

6. Installing R and R Studio (Mac, Linux & Windows)

Previous5. Update: Recommended Anaconda VersionNext7. BONUS: Meet your instructors

Last updated 6 years ago

DOWNLOADING AND INSTALLING THE REQUIRED R PACKAGES

Downloading and installing R distribution

  • Go to the to download the latest R package

  • Download the desired R distribution for your OS, for my setup it is Windows.

  • Once you are directed to the download page, press install R for the first time, and click on the download link.

  • You just need to download and install the R distribution on your machine.

  • For mac version, its the same. Just download the latest R binary distribution on the top of the page.

  • Just install the R distribution using the default configuration.

  • But you also need an IDE to work with your programming language of R.

  • Most people find the best and most convenient IDE to use, is RStudio.

Downloading and Installing RStudio IDE

  • Go to the to download the latest RStudio IDE.

  • Press on Download RStudio and scroll to download RStudio desktop for Windows.

  • Run the installation process and use the default settings for RStudio.

Opening and customizing RStudio

  • Open RStudio and you should see the UI displayed on your screen.

  • Go to tools and Global Options on a Windows machine.

  • On Mac, it will be somewhere in the top left and it will be preferences.

  • You can change your preference under Appearance, for different schemes, styles and font size

  • If you want to have default, just select TextMate(Default) and apply.

  • Typing your first command in R, in RStudio IDE.

      print("Hello World!")
  • Just press Ctrl Enter after the line to run the code.

R website
RStudio website