[Rcpp-devel] DataFrame -> dims protected

Nick Sabbe nick.sabbe at ugent.be
Fri May 13 16:44:34 CEST 2011

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 what's in its code, but it made me wonder: what is the
reason that this method is protected?


Nick Sabbe


ping: nick.sabbe at ugent.be

link:  <http://biomath.ugent.be/> http://biomath.ugent.be

wink: A1.056, Coupure Links 653, 9000 Gent

ring: 09/264.59.36


-- Do Not Disapprove


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20110513/281e6472/attachment.htm>

More information about the Rcpp-devel mailing list