On Sunday, 19 July 2020 13.15.06 WEST Max Pyziur wrote:
ip <- installed.packages() ip["R6", c(2,3,16)]
ip <- installed.packages() ip["R6", c(2,3,16)]
LibPath Version Built"/usr/lib64/R/library" "2.4.1" "3.6.2"
That makes (some) sense.
I get this:
ip["R6", c(2,3,16)]
LibPath Version Built "/usr/share/R/library" "2.4.1" "4.0.2"
Note that the difference comes from the package location.
I can probably see this from running:
.libPaths()
So that probably means that you have two packages installed, one in /usr/ lib64/R/library and another in /usr/share/R/library. You will see from running the command above that /usr/lib64/R/library comes first and so that is the package used.
I hope that this makes sense.
Regards,