Hi,

On Tuesday 04 January 2011, Eduardo de Oliveira Horta wrote:
> > B = 1000
> > oblist = as.list(.GlobalEnv)

the problem appears to be our use of "active bindings" (see 
?makeActiveBinding). Internally, RKWard replaces all objects inside .GlobalEnv 
by active bindings. This allows us to find out, when the objects get modified. 
For almost all purposes, these active bindings behave just like the regular 
object, but apparently, as.list() copies the accessor functions, instead. I do 
wonder whether that is the expected behavior of as.list()...

Either way, RKWard will probably switch to a different strategy for detecting 
when objects get modified, in the not-too-distant future. The problem should go 
away, then. Meanwhile, perhaps you can work around the problem using code like 
this:

oblist <- sapply (ls (all.names=TRUE), function (x) get (x), simplify=FALSE)

Regards
Thomas

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
RKWard-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rkward-devel

Reply via email to