🎓 Top 15 Udemy Courses (80-90% Discount): My Udemy Courses - Ramesh Fadatare — All my Udemy courses are real-time and project oriented courses.
▶️ Subscribe to My YouTube Channel (178K+ subscribers): Java Guides on YouTube
▶️ For AI, ChatGPT, Web, Tech, and Generative AI, subscribe to another channel: Ramesh Fadatare on YouTube
YouTube Video
Step 1: Download and Install R
Visit the R Project Website:
Open your browser and go to https://cran.r-project.org/.Choose a CRAN Mirror:
Click on a CRAN mirror close to your location (e.g., "0-Cloud [https]").Download the Windows Installer:
- Click on Download R for Windows.
- On the next page, click base under "Subdirectories".
- Click Download R x.x.x for Windows to download the
.exefile.
Run the Installer:
- Locate the downloaded file (e.g.,
R-x.x.x-win.exe) in your Downloads folder and double-click it.
- Locate the downloaded file (e.g.,
Install R:
- Language: Choose your preferred language and click OK.
- Setup Wizard: Follow the on-screen instructions:
- Accept the license agreement.
- Choose the installation path (default:
C:\Program Files\R\R-x.x.x). - Select components (leave the defaults checked).
- Click Finish to complete the installation.
Step 2: Verify R Installation
- Open the Start Menu and search for R x64 x.x.x.
- Launch R and ensure it opens successfully.
- Test R by typing:
version- This will display the installed R version details.
Step 3: Download and Install RStudio
Visit the RStudio Website:
Go to https://posit.co/download/rstudio-desktop/.Download RStudio:
- Under RStudio Desktop Open Source License, click the Download button for Windows.
- The
.exefile (e.g.,RStudio-x.x.x.exe) will start downloading.
Run the Installer:
- Locate the downloaded file in your Downloads folder and double-click it.
- Follow the installation wizard:
- Accept the license agreement.
- Choose the installation path (default:
C:\Program Files\RStudio).
- Click Install and then Finish to complete the setup.
Step 4: Verify RStudio Installation
- Open the Start Menu and search for RStudio.
- Launch RStudio.
- RStudio should automatically detect your R installation.
- To confirm, go to Tools > Global Options in RStudio and check the R version under the General tab.
Step 5: Test RStudio
- In the Console pane of RStudio, type the following command:
print("R and RStudio are working!") - Press Enter.
- If everything is set up correctly, the message will be displayed in the console.
Optional: Install R Packages
To enhance R’s functionality, install additional packages:
- Open RStudio.
- In the console, type:
install.packages("ggplot2") - Press Enter to install the
ggplot2package. - Once installed, load the package:
library(ggplot2)
Conclusion
You’ve successfully installed R and RStudio on Windows 11. With this setup, you’re ready to explore data analysis, statistical modeling, and visualization. RStudio provides a user-friendly interface that simplifies working with R, making it a great choice for beginners and advanced users alike. Happy coding and data analysis!
My Top and Bestseller Udemy Courses. The sale is going on with a 70 - 80% discount. The discount coupon has been added to each course below:
Build REST APIs with Spring Boot 4, Spring Security 7, and JWT
[NEW] Learn Apache Maven with IntelliJ IDEA and Java 25
ChatGPT + Generative AI + Prompt Engineering for Beginners
Spring 7 and Spring Boot 4 for Beginners (Includes 8 Projects)
Available in Udemy for Business
Building Real-Time REST APIs with Spring Boot - Blog App
Available in Udemy for Business
Building Microservices with Spring Boot and Spring Cloud
Available in Udemy for Business
Java Full-Stack Developer Course with Spring Boot and React JS
Available in Udemy for Business
Build 5 Spring Boot Projects with Java: Line-by-Line Coding
Testing Spring Boot Application with JUnit and Mockito
Available in Udemy for Business
Spring Boot Thymeleaf Real-Time Web Application - Blog App
Available in Udemy for Business
Master Spring Data JPA with Hibernate
Available in Udemy for Business
Spring Boot + Apache Kafka Course - The Practical Guide
Available in Udemy for Business
Comments
Post a Comment
Leave Comment