How to install R on Ubuntu
kodingwindow@kw:~$ su
Password: 
root@kw:/home/kodingwindow# apt install r-base
...
root@kw:/home/kodingwindow# R --version
R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
Copyright (C) 2024 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 the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
https://www.gnu.org/licenses/.
Advertisement