In R code, get("...", environment()) will retrieve the DOTSXP object.
So another way is to write your wrapper functions like
someFunc <- function(...) {
.External("someFunc_extern", get("...", ifnotfound=NULL) )
}
If you're trying to mimic what substitute() et al do, you'll sometimes
need to fo
Thanks. This works for me. See this gist:
https://gist.github.com/romainfrancois/7959531
Romain
Le 13 déc. 2013 à 01:09, Hadley Wickham a écrit :
> Could you pass the environment and then look for the object called ... in it?
>
> f <- function(...) {
> .Call("my_fun", environment())
> }
>
>