Revision: 1610
http://r-gregmisc.svn.sourceforge.net/r-gregmisc/?rev=1610&view=rev
Author: warnes
Date: 2012-09-13 23:54:25 +0000 (Thu, 13 Sep 2012)
Log Message:
-----------
Fix bug in calling rm, needed to specify envir=
Modified Paths:
--------------
trunk/namespace/R/namespace.R
Modified: trunk/namespace/R/namespace.R
===================================================================
--- trunk/namespace/R/namespace.R 2012-09-13 23:41:32 UTC (rev 1609)
+++ trunk/namespace/R/namespace.R 2012-09-13 23:54:25 UTC (rev 1610)
@@ -35,7 +35,7 @@
stop(name, " is not a registered namespace.")
# Remove the item from the registry
- rm(name, .getNameSpaceRegistry())
+ rm(name, envir=.getNameSpaceRegistry())
invisible()
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|