From radford at cs.toronto.edu  Wed Nov  6 18:00:38 2013
From: radford at cs.toronto.edu (Radford Neal)
Date: Wed, 6 Nov 2013 12:00:38 -0500
Subject: [Rd] Dynamic list creation (SEXP in C) returns error
 "unimplemented type (29) in 'duplicate'" Dynamic list creation (SEXP in C)
 returns error
In-Reply-To: <mailman.25.1383735608.27847.r-devel@r-project.org>
References: <mailman.25.1383735608.27847.r-devel@r-project.org>
Message-ID: <20131106170038.GA30482@cs.toronto.edu>

"changing its size using SETLENGTH (Rf_lengthgets)"

NO! NO! NO!  SETLENGTH does not do the same thing as Rf_lengthgets.
You should never use SETLENGTH, which is not part of the API, and
really should not even exist.

For that matter Rf_lengthgets is also not part of the API.  I
recommend getting the length right to start with.

   Radford Neal



[Rd] Dynamic list creation (SEXP in C) returns error "unimplemented type (29) in 'duplicate'" Dynamic list creation (SEXP in C) returns error
Radford Neal