remove package in r

To remove a package in R, you can use the remove.packages() function. Here are the steps to do this:

  1. First, you need to load the library for the package by using the library() function.
  2. Then, you can use the remove.packages() function to remove the package from your R environment.

That's it!