I have tried:
sudo apt-get remove r-base
sudo apt-get remove r-base-core
delete everything in .libPaths()
The thing is, I'm using a Docker container which came with R installed in it. When I run those commands, the terminal prompts:
Package 'r-base-core' is not installed, so not removed
The reason why I'm trying to uninstall R from a container built for using R is that what I really need is to use Oracle R Enterprise and it only works for R version 3.3.0. The version that came already installed in the container is 3.6.0
With this set, I can think of 2 possible solutions to my problem:
- Remove everything in the paths that .libPaths() show and hope that works. Would be awesome if someone could confirm if that would work before I try it and mess everything up.
- Find a way to downgrade to 3.3.0 version from 3.6.0 version so I don't have to uninstall and re-install R again.