R update/new instalation not loading:

Ubuntu 22.04
In try to update R to 4.2.0 I following the instructions at CRAN I have managed to really muck things up.

john@john:~$ sudo apt install --no-install-recommends r-base
[sudo] password for john: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
r-base is already the newest version (4.2.0-1.2204.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
john@john:~$ R --version
/usr/local/lib/R/bin/exec/R: error while loading shared libraries: libicuuc.so.67: cannot open shared object file: No such file or directory

Is it worth trying to install libicuuc.so.67 ?
BTW if I do

cat /usr/local/lib/R/bin/exec/R

it looks like I have a compiled file. Does this make sense?

Weirdly enough, when I did the install I found the R 4.2.0 folder in my Downloads folder and not in Home folder where I would have expected it. After it did not load from there I moved it to the Home folder in some kind of desperate hope that it was a weird path mixup.

Any help or suggestions would be appreciated.

I seem to have cured the problem. After mucking about I finally deleted

and it seemed to cure the problem.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.