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 700 Views 293006
- by Eli 2 days ago Russia Invades Ukraine View the latest post Replies 661 Views 228657
- by Eli 3 days ago President Museveni's Speech During International Development Association (IDA) Summit View the latest post Replies 1 Views 96
- by Eli 3 days ago From Simple Linear Regression Analysis to Covariance & Correlation to Independent Determinant, and R-Squared View the latest post Replies 11 Views 24465
- by Eli 3 days ago All in One: YouTube, TED, X, Facebook and Instagram Reels, Videos, Images and Text Posts View the latest post Replies 323 Views 27607
- by Eli 6 days ago Collection of Greatest Christian Hymns of all Times View the latest post Replies 34 Views 61268
- by Eli 1 week ago Pondering Big Cosmology Questions Through Lectures and Dialogues View the latest post Replies 34 Views 57707
- by Eli 1 week ago Programmatically Manipulate Files: Renaming, Reading, Writing, Deleting, and Moving Files Between Folders View the latest post Replies 7 Views 10152
- 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 9960
- by Eli 2 weeks ago Python Packages for Scientific Computing View the latest post Replies 8 Views 16295
-
Install R in Ubuntu Linux
-
- Similar Topics
- Replies
- Views
- Last post
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests