Hi Bennet,
The AFNI Docker image is based on neurodebian 18.04 (which is based on ubuntu 18.04). R is installed using `apt-get install r-base`, and that installs 3.4.4 as you see. On the
Ubuntu 18.04 website for r-base, you can see that 3.4.4 is the R version that is installed on ubuntu 18.04.
The easiest way to install a different R version would be to use a different base image. Specifically, you can use a more recent neurodebian version, like nd21.04. That will install R version 4.0.4, as
you can see here. This will require rebuilding the AFNI docker image.
Best,
Jakub
[
kaczmarj.github.io]