Re: [Rd] operation on ‘numsels’ may be undefined

2014-06-25 Thread Kevin Ushey
Hi Hervé, Glad you enjoyed the slides :) Here's a bit more material discussing why 'i = ++i' and friends are actually defined under the C++11 standard, but undefined before: Why it might be well-defined in C++0x and above:

[Rd] Need help on calling Head from C

2014-06-25 Thread Sandip Nandi
Hi , I am trying to call head function from C . My doubt is with the parameter n,how to pass it . PROTECT(dfm=lang3(install(data.frame),df,ScalarLogical(FALSE))); SET_TAG(CDDR(dfm), install(stringsAsFactors)) ; SEXP res = PROTECT(eval(dfm,R_GlobalEnv));