How to Install R and RStudio for Statistical Data Analysis (Updated: May 2025)

Install R and RStudio for Data Analysis (May 2025 Guide)

To begin analyzing data with R, you’ll need to install the following two components in order:

1. Install R

🔗 Download R Program
R is the core programming language used for statistical computing and data analysis.

2. Install RStudio

🔗 Download RStudio Desktop
RStudio is an integrated development environment (IDE) that makes coding in R easier and more efficient.

⚠️ Be sure to install them in the order listed above: R first, then RStudio.


How to Install the R Program in Korea

To install R, visit the official CRAN mirror list:
🔗 https://cran.r-project.org/mirrors.html

✅ Step-by-Step:

  1. Scroll through the list and look for a mirror site located in Korea.
  2. Choose one of the Korean mirrors — typically there are 1 to 3 options, and they may vary over time due to updates.
  3. Click on your preferred mirror to begin the download process.

🔄 Since the mirror list is continuously updated, it's normal to see slight changes in the number of Korean options available.



The operating system you're installing is usually Windows, right?



Install.



click download








Leave the address as default if possible. 
When installing the program, all addresses must be in English to avoid errors.










Once you’ve installed R, the next step is to install RStudio, a user-friendly interface for writing and running R code.

🔗 Download RStudio Desktop

✅ Step-by-Step Instructions:

  1. Visit the official download page.
  2. Under RStudio Desktop – Free, click Download.
  3. Choose the installer that matches your operating system (typically Windows for most users).
  4. Follow the on-screen instructions to complete the installation.

💡 RStudio is not a standalone program — it requires that R is installed first.






Since you installed number 1 above, skip it and choose number 2.













Run RStudio






Installation complete!










댓글 쓰기

0 댓글