From romain at r-enthusiasts.com  Tue Jun 24 15:14:53 2014
From: romain at r-enthusiasts.com (=?windows-1252?Q?Romain_Fran=E7ois?=)
Date: Tue, 24 Jun 2014 15:14:53 +0200
Subject: [Rd] using C code to create data frame but always return as list
In-Reply-To: <FE529AF1-3CC6-4F92-A7ED-98C8EC81C784@r-project.org>
References: <1403593071.58141.YahooMailNeo@web162903.mail.bf1.yahoo.com>
	<1E9AC80C-C494-454F-9821-747152C88BFE@r-enthusiasts.com>
	<FE529AF1-3CC6-4F92-A7ED-98C8EC81C784@r-project.org>
Message-ID: <F1EDD19D-FE27-4791-BF9C-FECA57052652@r-enthusiasts.com>


Le 24 juin 2014 ? 14:58, Simon Urbanek <simon.urbanek at r-project.org> a ?crit :

> On Jun 24, 2014, at 9:21 AM, Romain Francois <romain at r-enthusiasts.com> wrote:
> 
>> Hi, 
>> 
>> Can you give us what str on the returned object gives you? 
>> 
>> I think you need : 
>> 
>> SET_OBJECT(and, 1) ; 
>> 
>> at the end. 
>> 
> 
> SET_OBJECT should not be used by user code in normal circumstances, it is set by R automatically as part of the handling of the "class" attribute.

Ah ok, thanks. I vaguely recall that I had to use it at some point, perhaps in conjunction with a direct SET_ATTRIB call, but I guess I?m not supposed to use this either. 

Romain


[Rd] using C code to create data frame but always return as list
=?windows-1252?Q?Romain_Fran=E7ois?=