Signature Database
Search through all R functions flowR knows, using its signature database (last updated , only most recent package versions).
What the database knows, by language
| R | C | C++ | Fortran | Rust | |
|---|---|---|---|---|---|
| exists, signature | formals, defaults | registered name, arity | registered name, arity | name, arity | extendr, savvy, extern "C" names, arity |
| arguments | roles, forced, read | read, written, escapes | some (Rcpp often unknown) | read, written (INTENT) | not written, where the types say so |
| contracts | yes | no | no | no | no |
| recycling | yes | no | no | no | no |
| global state | options, env, RNG, files, ... | globals, RNG, I/O, env | some | COMMON, I/O | statics, RNG, I/O, env |
| pure, errors | yes | yes, pure only if every callee is known | some | yes (STOP) | panics, R errors; never pure |
| parallel, hardware | no | OpenMP, threads, SIMD, asm | same | !$OMP | rayon, threads, SIMD, cfg |
| calls | callees, S3/S4 dispatch | .Call, .C, .Fortran, .External calls point to the routine | same | ||
Facts on C, C++ and Fortran come from reading the sources with libclang and gfortran, on Rust from a scanner over the source text. Nothing is compiled or run.
Only the #ifdef branches of one Linux build are read. A fact that could not be established is unknown, not false.
filter:
match
Type a name to search.