search for: env3

Displaying 5 results from an estimated 5 matches for "env3".

Did you mean: env
2015 Sep 29
3
making object.size() more meaningful on environments?
Hi, Currently object.size() is not very useful on environments as it always returns 56 bytes, no matter how big the environment is: env1 <- new.env() object.size(env1) # 56 bytes env2 <- new.env(hash=TRUE, size=75000000L) object.size(env2) # 56 bytes env3 <- list2env(list(a=runif(25000000), L=LETTERS)) object.size(env3) # 56 bytes This makes it pretty useless on reference class instances and other objects that use environments internally for caching or other purposes. What about changing this and make it return something more meaningful? C...
2015 Sep 29
1
making object.size() more meaningful on environments?
...ful on environments as it always > returns 56 bytes, no matter how big the environment is: > > env1 <- new.env() > object.size(env1) # 56 bytes > > env2 <- new.env(hash=TRUE, size=75000000L) > object.size(env2) # 56 bytes > > env3 <- list2env(list(a=runif(25000000), L=LETTERS)) > object.size(env3) # 56 bytes > > This makes it pretty useless on reference class instances and other > objects that use environments internally for caching or other purposes. > > What about changing this and...
2005 Jul 13
3
nlme, MASS and geoRglm for spatial autocorrelation?
Hi. I'm trying to perform what should be a reasonably basic analysis of some spatial presence/absence data but am somewhat overwhelmed by the options available and could do with a helpful pointer. My researches so far indicate that if my data were normal, I would simply use gls() (in nlme) and one of the various corSpatial functions (eg. corSpher() to be analagous to similar analysis in SAS)
2015 Sep 29
0
making object.size() more meaningful on environments?
...object.size() is not very useful on environments as it always > returns 56 bytes, no matter how big the environment is: > > env1 <- new.env() > object.size(env1) # 56 bytes > > env2 <- new.env(hash=TRUE, size=75000000L) > object.size(env2) # 56 bytes > > env3 <- list2env(list(a=runif(25000000), L=LETTERS)) > object.size(env3) # 56 bytes > > This makes it pretty useless on reference class instances and other > objects that use environments internally for caching or other purposes. > > What about changing this and make it return so...
2013 Dec 17
1
Geppetto complains about uninitialized variables in reduce function
Hello, I''m using the following expression to format a list: $valid_environments = [''env1'', ''env2'', ''env3''] $env_message = $valid_environments.reduce |$message, $env| { "${message}, ${env}" } It works at run-time (Puppet 3.2.4 standalone with "--parser=future"). However in Eclipse (v4.3.1), Geppetto (v4.0) shows these errors: Reference to not yet initial...