https://tweag.github.io/HaskellR/docs/memory-allocation.html
Both these links have more information on this.
As far as I can tell (and most of this is way over my head) the native R garbage collection is used
https://tweag.github.io/HaskellR/docs/memory-allocation.html
Both these links have more information on this.
As far as I can tell (and most of this is way over my head) the native R garbage collection is used