how to uninstall packages in R code example Example: uninstall R sudo apt-get remove r-base r-base-core