Naresh, The instructions given at https://cran.r-project.org/bin/linux/ubuntu/ for installing R on Ubuntu work well.
However, for installing R packages I recommend the following approach. 1. Download the shell script for your version of Ubuntu (e.g., add_cranapt_resolute.sh for Ubuntu 26.04) from the r2u website: https://github.com/eddelbuettel/r2u 2. Run the shell script from the terminal as follows: sudo su bash add_cranapt_resolute.sh exit Then you have two options for installing R packages from the fast, well-connected mirror r2u.stat.illinois.edu As an example, you can install the R package "sp" using either of the following options: 1. From the terminal: sudo apt install r-cran-sp 2. From R: install.packages("sp") A big advantage of using r2u is that all dependencies of each package are downloaded properly. Robert Dorazio On Sat, Aug 29, 2026 at 5:50 AM Naresh Gurbuxani < [email protected]> wrote: > I followed these instructions to install R on my new Ubuntu desktop. > > https://cran.r-project.org/bin/linux/ubuntu/ > > > To install additional packages, I am following these instructions: > > https://cran.r-project.org/bin/linux/ubuntu/fullREADME.html > > > For Ubuntu 26.04 (Resolute Racoon), /etc/apt/sources.list is > deprecated. It seems I need to create a file in > /etc/apt/sources.list.d/. I started a file "r-package.sources" and need > entries for the last two fields. My file: > > ## R package repository > Types: deb > URIs: https://cloud.r-project.org/bin/linux/ubuntu > Suites: resolute-cran40 > Components: > Signed-By: > > It will also benefit other users if you can update the instructions in > fullREADME.html > > > Thanks, > > Naresh > > ______________________________________________ > [email protected] mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > https://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ [email protected] mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide https://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

