From hhoeflin at gmail.com  Sat Feb 13 17:15:14 2016
From: hhoeflin at gmail.com (Holger Hoefling)
Date: Sat, 13 Feb 2016 17:15:14 +0100
Subject: [Rd] Question about CHARSXP and garbage collection
Message-ID: <CAFDswJvbmKTo9Ua3cwPTGVRcn04Wb6FhLKhuui2fxVvCMHh+vw@mail.gmail.com>

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]]



[Rd] Question about CHARSXP and garbage collection
Holger Hoefling