How can I unload a package without restarting R?
I tried library but it doesn’t show any options that would unload the package.
I also tried detach but it also failed:
detach(ans)
Error in detach(ans) : invalid name argument
detach("ans")
Error in detach("ans") : invalid name argument
So How can I perform this task?