Skip to main content
IntellectualPedia - Worlds Information

Main navigation

  • Home
  • About
  • Copyright Licenses
  • Creating-Content
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Blogs
  3. RyanJBridglal's blog

How to Install R on Ubuntu

By RyanJBridglal, 30 August, 2023
  • RyanJBridglal's Blog
  • Log in or register to post comments

How to Install R on Ubuntu

Install R from Ubuntu repositories. The installation process is simple and requires only a few steps. However, since the default Ubuntu libraries are not updated as frequently as the CRAN repositories, there is a possibility of installing an older version of R.

 

To install R from the Ubuntu repository:

1. Open the terminal and update the apt package lists:

   sudo apt update

2. Install the R base package and its dependencies using the following  command:

   sudo apt install r-base r-base-dev -y

 

 

The r-base-dev package enables users to install new packages using the install.packages() function within the R console.

3. Type R and hit enter to verify that R has been installed:

   R

 

You will get the following syntax!

ryan@ROGVB:~$ R

R version 4.1.2 (2021-11-01) -- "Bird Hippie"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

 Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
 

Blog comments

Blog tags
R, How To, Install
How To
R
R Programming
Data Science
Machine Learning

Recent Content - All Users

  • Brahmi: Buy Without Prescription Hawaii
    1 week 1 day ago
  • Abana: Order Heartcare Online Medicine
    1 week 1 day ago
  • Aldara: Purchase Pills
    1 week 1 day ago
  • Amantadine Pms-Amantadine: Best Price Pms-Amantadine Saturday Shipping
    1 week 2 days ago
  • Aciphex: Price Of In India
    1 week 2 days ago

Archive - All Users

  • August 2023 (5)
  • September 2023 (2)
  • October 2023 (1)
  • November 2023 (1)
  • January 2024 (1)
  • June 2024 (3)
  • July 2024 (196)
  • August 2024 (319)
  • September 2024 (180)
  • October 2024 (257)

Pagination

  • 1
  • Next page
RSS feed

Main

  • Home
  • About
  • Copyright Licenses
  • Creating-Content

Nav

  • Contact

Content is available under proper intellectual copyright law; additional terms may apply. Various licenses may be provided by individual authors outside of copyright law.   
View our Copyright License page for further info.   
A) Copyright Law of the United States (Title 17) -  B) Creative Commons Various Licenses  -  C) GNU-GPL   
We Hope to break free, become funded and grow into a ORG/NON-Profit ORG. We thank our parent company for kickstarting us and we must state their licenses, Terms and Policies.   
© IterationLinc 2022-2023. All Rights Reserved. Terms of Use - Privacy Policy  
Powered by Drupal (Drupal 10.1)

© Intellectual Pedia. www.intellectualpedia.org, 2023. All Rights Reserved.