Re: [Rd] Question about CHARSXP and garbage collection

2016-02-13 Thread luke-tierney
They are garbage collected so you do need to protect them in C code. Best, luke On Sat, 13 Feb 2016, Holger Hoefling wrote: Hi, I had a technical question about CHARSXP and garbage collection and couldn't find the answer in the R manual. The question is this. Are CHARSXP garbage collected l

[Rd] Question about CHARSXP and garbage collection

2016-02-13 Thread Holger Hoefling
Hi, I had a technical question about CHARSXP and garbage collection and couldn't find the answer in the R manual. The question is this. Are CHARSXP garbage collected like any other object, despite being part of the CHARSXP cache? i.e. is the cache being cleaned by garbage collection regularly and