On Tue, Dec 31, 2013 at 1:45 PM, JJ Allaire wrote:
> Am I correct in noting that
>>
>> // [[Rcpp::export]]
>> void test(void)
>> {
>> // do something
>> }
>>
>> does not generate any code in RcppExports.R?
>>
>
> The problem occurs because the attributes parser doesn't know what to do
> with
>
> Am I correct in noting that
>
> // [[Rcpp::export]]
> void test(void)
> {
> // do something
> }
>
> does not generate any code in RcppExports.R?
>
The problem occurs because the attributes parser doesn't know what to do
with the void argument specification. If you declare the function with
On Mon, Dec 30, 2013 at 10:36 PM, Dirk Eddelbuettel wrote:
>
> Hi Tim,
>
> Nice to see you here!
>
Nice to be here. Happy new year!
>
> On 30 December 2013 at 22:15, Tim Keitt wrote:
> | Apologies if this is the wrong list for user questions -- happy to be
> | redirected -- I did not see it im
Hello,
This is fixed in Rcpp implementations I maintain: Rcpp11 and Rcpp98 and tested
for in Rcpp-test.
https://github.com/romainfrancois/Rcpp11/blob/master/src/attributes.cpp#L1195
https://github.com/romainfrancois/Rcpp98/blob/master/src/attributes.cpp#L1228
Trivial to port the fix to Rcpp.
Hi Tim,
Nice to see you here!
On 30 December 2013 at 22:15, Tim Keitt wrote:
| Apologies if this is the wrong list for user questions -- happy to be
| redirected -- I did not see it immediately.
And it is absolutely the right list: rcpp-devel as in our understanding
'using' of Rcpp means deve
Apologies if this is the wrong list for user questions -- happy to be
redirected -- I did not see it immediately.
Am I correct in noting that
// [[Rcpp::export]]
void test(void)
{
// do something
}
does not generate any code in RcppExports.R?
Thanks.
--
Timothy H. Keitt
http://www.keittla