[Rd] Question about CHARSXP and garbage collection

Holger Hoefling hhoeflin at gmail.com
Sat Feb 13 17:15:14 CET 2016


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 therefore, when I am in C code, do I need
to protect a CHARSXP?

Thanks!

Holger

	[[alternative HTML version deleted]]



More information about the R-devel mailing list