Re: [Rd] .Call ref card

2012-03-27 Thread Simon Urbanek
FWIW: I have put the (slightly updated) sheet at http://r.research.att.com/man/R-API-cheat-sheet.pdf Note that it is certainly incomplete - but that is intentional to a) to fit the space constraints and b) to show only the most basic things since we are talking about starting with .Call -- adva

Re: [Rd] .Call ref card

2012-03-27 Thread Simon Urbanek
On Mar 27, 2012, at 12:03 PM, Terry Therneau wrote: > On 03/23/2012 10:58 AM, Simon Urbanek wrote: >> This is my shot at a cheat sheet. >> comments are welcome. >> >> Simon >> >> > I was looking through the cheat sheet. It's nice. There are a few things in > it that I can't find in the docu

Re: [Rd] .Call ref card

2012-03-23 Thread Dirk Eddelbuettel
Awesome. I love the reference card. This will be useful. But I couldn't resist recasting your final "silly" example into a) inline use which I find generally easier than having to do R CMD SHLIB followed by dyn.load() b) a comparison with Rcpp which looks just about the same minus so

Re: [Rd] .Call ref card

2012-03-23 Thread Ramon Diaz-Uriarte
Peter, thanks for the slides. However, I felt like Terry and I think because I am missing the "big picture" that I was somewhat surprised by some of the content and organization (e.g., the detail about character vectors, the usage of the tcltk package as example code). Best, R. On Thu, 22 Mar

Re: [Rd] .Call ref card

2012-03-22 Thread Terry Therneau
On 03/22/2012 11:03 AM, peter dalgaard wrote: Don't know how useful it is any more, but back in the days, I gave this talk in Vienna http://www.ci.tuwien.ac.at/Conferences/useR-2004/Keynotes/Dalgaard.pdf Looking at it now, perhaps it moves a little too quickly into the hairy stuff. On the oth

Re: [Rd] .Call ref card [was Re: R-devel Digest, Vol 109, Issue 22]

2012-03-22 Thread peter dalgaard
Don't know how useful it is any more, but back in the days, I gave this talk in Vienna http://www.ci.tuwien.ac.at/Conferences/useR-2004/Keynotes/Dalgaard.pdf Looking at it now, perhaps it moves a little too quickly into the hairy stuff. On the other hand, those were the things that I had found

[Rd] .Call ref card [was Re: R-devel Digest, Vol 109, Issue 22]

2012-03-22 Thread Ramon Diaz-Uriarte
On Thu, 22 Mar 2012 10:38:55 -0400,Simon Urbanek wrote: > On Mar 22, 2012, at 9:45 AM, Terry Therneau wrote: > > > >> > >>> > strongly disagree. I'm appalled to see that sentence here. > >>> > > >>> > Come on! > >>> > > >> The overhead is significant for any large vector and