Hi Tal,
> That is, say that we have x as a List, how do we go about fetching its
attr?
> I tried:
> x[1].attr("type")
> x.attr[1]("type")
> But none seemed to have worked. Any suggestions there?
Here is a script to show you how to access them:
```r
x <- list(a = 1, b = 2, c = list(ca = 3, cb = 4
Thank you for all the responses Dirk.
I will go through them one at a time to see what I can accomplish on my own.
Further questions will follow in the next few weeks (I imagine).
Cheers,
Tal
Contact
Details:---
Contact me: tal
Hi Tal,
On 20 July 2013 at 22:14, Tal Galili wrote:
| Hello Dirk and others,
|
| Dirk -
| Thank you for the quick reply!
|
| Some responses:
|
|
| 1) I looked at the Rcpp gallery.
| The best I found was:
| http://gallery.rcpp.org/articles/setting-object-attributes/
| (which already was avail
Hello Dirk and others,
Dirk -
Thank you for the quick reply!
Some responses:
1) I looked at the Rcpp gallery.
The best I found was:
http://gallery.rcpp.org/articles/setting-object-attributes/
(which already was available in Hadley's book)
And:
http://gallery.rcpp.org/articles/modifying-a-data-f
Hi Tal,
And welcome!
On 20 July 2013 at 19:44, Tal Galili wrote:
| Hello dear Rcpp users,
|
| First - I'd like to say that I took Hadley and Romain's workshop at the useR
| conference this year, and I am very excited about trying out Rcpp - this
| project looks AMAZING.
Your feedback (as conve
Hello dear Rcpp users,
First - I'd like to say that I took Hadley and Romain's workshop at the
useR conference this year, and I am very excited about trying out Rcpp -
this project looks AMAZING.
Second - this is my first post, and I apologize if my question is too
basic. To my defense, I tried l