Re: [Rcpp-devel] DataFrame -> dims protected

2011-05-13 Thread Dirk Eddelbuettel
On 13 May 2011 at 16:44, Nick Sabbe wrote: | Dear all, | | | | I?m new to Rcpp (see also my previous message). | | I?m trying to do some things to a data.frame passed in as a parameter. | | One of the first things I need is the size of this data.frame, and I found the, | unfortunately prote

[Rcpp-devel] DataFrame -> dims protected

2011-05-13 Thread Nick Sabbe
Dear all, I'm new to Rcpp (see also my previous message). I'm trying to do some things to a data.frame passed in as a parameter. One of the first things I need is the size of this data.frame, and I found the, unfortunately protected, member dims which returns just that. Now, I can simply do