Note: The easiest and quickest way to install R on any Ubuntu Linux distribution is to follow similar instructions for installing R on Ubuntu 16.04 (Xenial Xerus), https://www.tssfl.com/install-r-in-ubuntu-4403 replacing xenial with: trusty, lucid, etc., depending on your release, otherwise, continue by following the instructions bellow.
By the time you make installation, R may not be the latest version, so to obtain the latest R packages, add an entry
deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu utopic/
or
deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu trusty/
or
deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu precise/
or
deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu lucid/
or
else
depending on your distribution in your /etc/apt/sources.list file, replacing <my.favorite.cran.mirror> by the actual URL of your favorite CRAN mirror.
Now, install the complete R by typing the following in the command line:
sudo apt-get update
sudo apt-get install r-base
To install R packages such as "deSolve", code
$R
>install.packages("package name")
Choose CRAN and then click ok. You can however install R via Ubuntu Software Center.
-
- Active Topics
-
-
- by Eli 2 hours ago Re: What is in Your Mind? View the latest post Replies 696 Views 286656
- by Eli 13 hours ago Russia Invades Ukraine View the latest post Replies 655 Views 222432
- by Eli 1 day ago Collection of Greatest Christian Hymns of all Times View the latest post Replies 34 Views 55563
- by Eli 2 days ago Pondering Big Cosmology Questions Through Lectures and Dialogues View the latest post Replies 34 Views 57125
- by Eli 3 days ago Programmatically Manipulate Files: Renaming, Reading, Writing, Deleting, and Moving Files Between Folders View the latest post Replies 7 Views 4677
- by Eli 1 week ago Iran Launches Retaliatory Attack Against Israel, and Israel Retaliates by Attacking Iranian Isfahan Millitary Base View the latest post Replies 28 Views 4215
- by Eli 1 week ago All in One: YouTube, TED, X, Facebook and Instagram Reels, Videos, Images and Text Posts View the latest post Replies 319 Views 21579
- by Eli 1 week ago Python Packages for Scientific Computing View the latest post Replies 8 Views 11276
- by Eli 1 week ago Dunia Yetu: Building Tanzania's Digital Future Together View the latest post Replies 5 Views 2048
- by Eli 3 weeks ago What is Retrieval-Augmented Generation (RAG)? View the latest post Replies 2 Views 3374
-
Install R in Ubuntu Linux
-
- Similar Topics
- Replies
- Views
- Last post
-
- Information
-
Who is online
Users browsing this forum: No registered users and 2 guests