From armstrong.whit at gmail.com  Sat Jan  2 22:53:27 2010
From: armstrong.whit at gmail.com (Whit Armstrong)
Date: Sat, 2 Jan 2010 16:53:27 -0500
Subject: [Rd] R_PreserveObject,
	R_ReleaseObject : reference counting 	needed ?
In-Reply-To: <4B3FBDF2.8050402@dbmail.com>
References: <4B3F1AC7.4050208@dbmail.com>
	<A37E5DDA-CE93-4A32-9724-542EBB602AFC@r-project.org>
	<4B3F8157.3020903@dbmail.com>
	<8ec76081001021326w36270540xdd74e83c1f9ebc94@mail.gmail.com>
	<4B3FBDF2.8050402@dbmail.com>
Message-ID: <8ec76081001021353g19ad25bbhf978d042ca3c5ed6@mail.gmail.com>

Romain,

> that's not what I said. It just felt not as easy to use as just grab a SEXP
> and say R_PreserveObject( x ) and then later R_ReleaseObject.

Didn't mean to suggest that you said that.  I was asking the list
whether it's discouraged.

Will follow up on the Rcpp list.

-Whit



[Rd] R_PreserveObject, R_ReleaseObject : reference counting needed ?
Whit Armstrong