search for: r_dotssymbol

Displaying 6 results from an estimated 6 matches for "r_dotssymbol".

2010 Aug 21
1
Speed improvement to evalList
...rgs and hence to here. */ SEXP attribute_hidden evalList(SEXP el, SEXP rho, SEXP call, int n) { SEXP head, tail, ev, h; int mode; /* mode==0 is 0 args, mode==1 is 1 arg, mode==2 is >1 arg */ head = R_NilValue; mode = 0; while (el != R_NilValue) { n++; if (CAR(el) == R_DotsSymbol) { /* If we have a ... symbol, we look to see what it is bound to. * If its binding is Null (i.e. zero length) * we just ignore it and return the cdr with all its expressions evaluated; * if it is bound to a ... list of promises, * we force all the promises and then spl...
2023 Nov 11
1
New syntax for positional-only function parameters?
6 ?????? 2023 ?. 22:54:24 GMT+03:00, mikkmart via R-devel <r-devel at r-project.org> ?????: >The pattern of functions accepting other functions as inputs and >passing additional ... arguments to them is prevalent throughout >the R ecosystem. Currently, however, all such functions must one >way or another tackle the problem of inadvertently passing arguments >meant to go to
2003 Jun 06
1
Problerm building R-1.7.0 on OpenBSD3.2/sparc64
...rg' /home/test/proj/downl/R-1.7.0/bin/R.bin: /home/test/proj/downl/R-1.7.0/library/m ethods/libs/methods.so: can't resolve reference 'R_NilValue' /home/test/proj/downl/R-1.7.0/bin/R.bin: /home/test/proj/downl/R-1.7.0/library/m ethods/libs/methods.so: can't resolve reference 'R_DotsSymbol' /home/test/proj/downl/R-1.7.0/bin/R.bin: /home/test/proj/downl/R-1.7.0/library/m ethods/libs/methods.so: can't resolve reference 'R_UnboundValue' Error in .Call("R_initialize_methods_metadata", table, PACKAGE = "methods") : .Call function name not in load...
2002 Jan 02
1
Building R-1.4 on Tru64
...ttrib Rf_length STRING_ELT R_CHAR R_do_slot Rf_asChar PRINTNAME Rf_isNull CAR CDR R_data_class Rf_isFunction Rf_findFun SETCAR Rf_eval INTEGER CLOENV Rf_findVarInFrame Rf_isSymbol ENCLOS SYMVALUE Rf_asLogical R_MissingArg Rf_isPrimitive do_set_prim_method BODY R_deferred_default_method PREXPR PRENV R_DotsSymbol DDVAL R_set_prim_method Rf_defineVar R_do_slot_assign mkdir ../../../../library/methods/libs make[5]: Leaving directory `/tmp_mnt/net/fire/s/fire/1/richardb/Tru64/src/library/methods/src' make[4]: Leaving directory `/tmp_mnt/net/fire/s/fire/1/richardb/Tru64/src/library/methods/src' make[4]:...
2011 Sep 20
2
Is it possible to pass a function argument from R to compiled code in C?
I have a function in R that takes another function as argument: f <- function(g, ...) { #g is expected to be a function } I want to see if there is a way to implement "f" in C and calling it from R using ".C" interface. I know that I can use function pointers for my C implementation, but I imagine it's going to be nearly impossible to pass a function from R to C. Are
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
.../soft/readline/v4.2.1/lib -o methods.so do_substitute_direct.o methods_list_dispatch.o method_meta_data.o slot.o ld: Warning: Unresolved: Rf_error R_NilValue Rf_VectorToPairList Rf_duplicate Rf_protect Rf_substitute Rf_unprotect TYPEOF Rf_NewEnvironment R_GlobalEnv R_UnboundValue R_MissingArg R_DotsSymbol R_NamesSymbol Rf_allocVector Rf_asChar Rf_asLogical Rf_defineVar Rf_eval Rf_findVar Rf_findVarInFrame Rf_findFun Rf_getAttrib Rf_install Rf_isEnvironment Rf_isFunction Rf_isNull Rf_isObject Rf_isPrimitive Rf_isSymbol Rf_length Rf_mkChar ATTRIB R_CHAR STRING_ELT SET_STRING_ELT VECTOR_ELT LOGICAL INT...