I recently compiled and installed R version 4.3.2 from source. When I start R in an interactive bash shell I get the version that I installed. I am running POP_OS 22.04, a variant of Ubuntu 22.04.
R.version
_
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 4
minor 3.2
year 2023
month 10
day 31
svn rev 85441
language R
version.string R version 4.3.2 (2023-10-31)
nickname Eye Holes
However, starting RStudio I get R 4.3.1. My RStudio version is RStudio 2023.09.1 Build 494.
R.version
_
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 4
minor 3.1
year 2023
month 06
day 16
svn rev 84548
language R
version.string R version 4.3.1 (2023-06-16)
nickname Beagle Scouts
How can I get RStudio to use the version of R that I most recently installed?