On 12-08-28 5:55 PM, Sam Steingold wrote:
* R. Michael Weylandt <zvpunry.jrlyn...@tznvy.pbz> [2012-08-28 13:45:35 -0500]:

always you shouldn't need manual garbage collection.

my observation is that gc in R sucks.
(it cannot release small objects).
this is not specific to R; ocaml suffers too.

Sorry, I didn't realize you were just a troll. Please ignore my previous reply.

Duncan Murdoch


since a loop doesn't define its own scope like some languages (a
practice that always seemed strange to me),

every level of indentation has its own scope.
seems reasonable.

The other answer is to use functions / apply statements like the good
lord and John Chambers intended :-)

so explicit loops are "deprecated" in some sense?

thanks for your kind and informative reply!


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to