Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable package without restarting R? [duplicate]

Tags:

package

r

Possible Duplicate:
How to unload a package without restarting R?

To load a package into R we can go library(.) or require(.). How do I disable a package during a coding session. I want something that's the opposite of require(.).

like image 359
Jase Avatar asked Jan 03 '13 16:01

Jase


1 Answers

I think maybe you're looking for detach(package:splines, unload = TRUE).

As you might gather from the comments below, be sure to read carefully the Details section of ?detach to make sure you know exactly what will happen when using this with or without the unload and force arguments.

like image 179
joran Avatar answered Nov 17 '22 04:11

joran