[rkward-devel] local

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Wed Aug 4 19:54:23 UTC 2010


Hi,

On Wednesday 04 August 2010, Stefan Rödiger wrote:
> how do I escape local (from a plugin) in order to remove objects from
> .GlobalEnv?

simply by using .GlobalEnv ;-). To remove a member of a list / data.frame in 
.GlobalEnv:
	.GlobalEnv$my.list[["object"]] <- NULL
To remove a toplevel object in .GlobalEnv:
	rm ("object", envir=.GlobalEnv)

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20100804/cf5cbafa/attachment.sig>


More information about the Rkward-devel mailing list