search for: functionargs

Displaying 2 results from an estimated 2 matches for "functionargs".

Did you mean: functionals
2012 Mar 21
1
enableJIT() and internal R completions (was: [ESS-bugs] ess-mode 12.03; ess hangs emacs)
Hello, JIT compiler interferes with internal R completions: compiler::enableJIT(2) utils:::functionArgs("density", '') gives: utils:::functionArgs("density", '') Note: no visible global function definition for 'bw.nrd0' Note: no visible global function definition for 'bw.nrd' Note: no visible global function definition for 'bw.ucv' Note...
2000 Jul 25
2
number of parameters of a function.
Is there a way to programmatically determine how many arguments a function accepts? In S, one can compute this as length(theFunction) - 1 and determine the parameter names as names(theFunction) due to the representation of functions. (Just in case anyone is thinking of nargs(), that is just for particular calls and does not concern itself with the function definition.)