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 3 days ago Re: What is in Your Mind? View the latest post Replies 689 Views 281252
- by Eli 4 days ago Iran Launches Retaliatory Attack Against Israel, and Israel Retaliates by Attacking Iranian Isfahan Millitary Base View the latest post Replies 28 Views 1040
- by Eli 6 days ago All in One: YouTube, TED, X, Facebook and Instagram Reels, Videos, Images and Text Posts View the latest post Replies 319 Views 16168
- by Eli 1 week ago Python Packages for Scientific Computing View the latest post Replies 8 Views 9517
- by Eli 1 week ago Dunia Yetu: Building Tanzania's Digital Future Together View the latest post Replies 5 Views 1934
- by Eli 1 week ago Russia Invades Ukraine View the latest post Replies 646 Views 217563
- by Eli 1 week ago Programmatically Move Files from One Folder to Another View the latest post Replies 6 Views 1473
- by Eli 2 weeks ago Collection of Greatest Christian Hymns of all Times View the latest post Replies 33 Views 50529
- by Eli 2 weeks ago What is Retrieval-Augmented Generation (RAG)? View the latest post Replies 2 Views 374
- by Eli 3 weeks ago Chat With ChatGPT - An Interactive Conversational AI View the latest post Replies 22 Views 31322
-
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