Thanks!<br><br><div class="gmail_quote">On Tue, Jan 4, 2011 at 2:13 PM, Thomas Friedrichsmeier <span dir="ltr"><<a href="mailto:thomas.friedrichsmeier@ruhr-uni-bochum.de">thomas.friedrichsmeier@ruhr-uni-bochum.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<div class="im"><br>
On Tuesday 04 January 2011, Eduardo de Oliveira Horta wrote:<br>
> > B = 1000<br>
> > oblist = as.list(.GlobalEnv)<br>
<br>
</div>the problem appears to be our use of "active bindings" (see<br>
?makeActiveBinding). Internally, RKWard replaces all objects inside .GlobalEnv<br>
by active bindings. This allows us to find out, when the objects get modified.<br>
For almost all purposes, these active bindings behave just like the regular<br>
object, but apparently, as.list() copies the accessor functions, instead. I do<br>
wonder whether that is the expected behavior of as.list()...<br>
<br>
Either way, RKWard will probably switch to a different strategy for detecting<br>
when objects get modified, in the not-too-distant future. The problem should go<br>
away, then. Meanwhile, perhaps you can work around the problem using code like<br>
this:<br>
<br>
oblist <- sapply (ls (all.names=TRUE), function (x) get (x), simplify=FALSE)<br>
<br>
Regards<br>
<font color="#888888">Thomas<br>
</font></blockquote></div><br>