Re: [Rd] save.image Doesn't Save Objects When Browsing

2015-02-19 Thread Prof Brian Ripley
On 20/02/2015 01:00, Dario Strbenac wrote: The documentation states that "save.image() is just a short-cut for save(list = ls(all = TRUE), file = ".RData")". However, if I do Browse[1]> ls(all=TRUE) [1] "expression" "orderedFeatures""predictParams" [4] "resubstituteParams" "trainPar

[Rd] save.image Doesn't Save Objects When Browsing

2015-02-19 Thread Dario Strbenac
The documentation states that "save.image() is just a short-cut for save(list = ls(all = TRUE), file = ".RData")". However, if I do Browse[1]> ls(all=TRUE) [1] "expression" "orderedFeatures""predictParams" [4] "resubstituteParams" "trainParams""verbose" Browse[1]> save.im

Re: [Rd] Recycling memory with a small free list

2015-02-19 Thread Karl Millar via R-devel
If you link to tcmalloc instead of the default malloc on your system, the performance of large allocations should improve. On unix machines you don't even need to recompile -- you can do this with LD_PRELOAD. The downside is that you'll almost certainly end up with higher average memory usage.as

Re: [Rd] Recycling memory with a small free list

2015-02-19 Thread luke-tierney
On Wed, 18 Feb 2015, Nathan Kurz wrote: On Wed, Feb 18, 2015 at 7:19 AM, Radford Neal wrote: ... with assignments inside of loops like this: reweight = function(iter, w, Q) { for (i in 1:iter) { wT = w * Q } } ... before the RHS is executed, the LHS allocation would be added to a smal