From h.wickham at gmail.com  Fri Oct 12 05:13:16 2012
From: h.wickham at gmail.com (Hadley Wickham)
Date: Thu, 11 Oct 2012 22:13:16 -0500
Subject: [Rd] Unevaluated .Call
Message-ID: <CABdHhvE3pvvbDbtWSVuTi_0YQfkebdrEqnaNbvmwAA480UszHQ@mail.gmail.com>

Hi all,

Is there an equivalent to .Call that passes the unevaluated arguments?
(e.g. like the equivalent of .Interval + eval = 10 in names.c)

If not, are there any disadvantages to doing something like this?

myfun <- function(...) {
  .Call("myfun", match.call(), parent.env())
}

Thanks!

Hadley

-- 
RStudio / Rice University
http://had.co.nz/



[Rd] Unevaluated .Call
Hadley Wickham