search for: argsenv

Displaying 3 results from an estimated 3 matches for "argsenv".

Did you mean: arglen
2010 May 24
1
Functioning and source code location of .Primitive()
...39;t totally understand how .Primitive() works. Its effects, if I understand well, are quite clear to me (calling the C compiled counterpart of a "primitive" function), but where is its definition? The only things I was able to find were: -in src/library/base/R/zzz.R, its creation in the .ArgsEnv environment, but with NULL body! -in src/main/names.c, the association of .Primitive() to the C function do_primitive, which I cannot find anywhere else in the source code. Does any of you know where should I look? Thank you! Stefano Baraldo
2011 Jun 29
0
Error in testInstalledBasic
...9; for an HTML browser interface to help. Type 'q()' to quit R. > ## check that the 'internal generics' are indeed generic. > > x <- structure(pi, class="testit") > xx <- structure("OK", class="testOK") > > for(f in ls(.GenericArgsEnv, all.names=TRUE)) + { + cat("testing S3 generic '", f, "'\n", sep="") + method <- paste(f, "testit", sep=".") + if(f %in% "seq.int") { + ## note that this dispatches on 'seq'. + assign("s...
2011 Jun 30
0
help with interpreting what nnet() output gives:
...9; for an HTML browser interface to help. Type 'q()' to quit R. > ## check that the 'internal generics' are indeed generic. > > x <- structure(pi, class="testit") > xx <- structure("OK", class="testOK") > > for(f in ls(.GenericArgsEnv, all.names=TRUE)) + { + cat("testing S3 generic '", f, "'\n", sep="") + method <- paste(f, "testit", sep=".") + if(f %in% "seq.int") { + ## note that this dispatches on 'seq'. + assign("s...