funr
Simple Utility Providing Terminal Access to all R Functions
A small utility which wraps Rscript and provides access to all R functions from the shell.
README
**Idea is to integrate funr into litter**:
```
r -f system.file package=knitr fl=examples/knitr-minimal.Rmd | r -f \
knitr::knit input=/dev/stdin
```
**inputs**
- funr() recognizes two options -h (help) and -v (verbose)
- ignores all other options starting with `-`
- First argument is assumed to be function name
- if function name contains `::` the word before is assumed to a pkg, and is loaded
- All other params follow `var=value`, and are parsed accordingly
*Complex inputs*:
- if value has a comma (paths=path1,path2), funr would split them and supply c('path1', 'path2') to the function.
- inputs like data.frame, list etc are not supported.
**outputs**
Print the output (using render_funr):
Essentially I use print to show the output (STDOUT)
- skips output, if function returns using invisible.
- If its a table, shows the first 100 rows (may need to turn this off ?)
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
0.3.2 |
rolling linux/jammy R-4.5 | funr_0.3.2.tar.gz |
28.6 KiB |
0.3.2 |
rolling linux/noble R-4.5 | funr_0.3.2.tar.gz |
28.6 KiB |
0.3.2 |
rolling source/ R- | funr_0.3.2.tar.gz |
10.4 KiB |
0.3.2 |
latest linux/jammy R-4.5 | funr_0.3.2.tar.gz |
28.6 KiB |
0.3.2 |
latest linux/noble R-4.5 | funr_0.3.2.tar.gz |
28.6 KiB |
0.3.2 |
latest source/ R- | funr_0.3.2.tar.gz |
10.4 KiB |
0.3.2 |
2026-04-26 source/ R- | funr_0.3.2.tar.gz |
10.4 KiB |
0.3.2 |
2026-04-23 source/ R- | funr_0.3.2.tar.gz |
10.4 KiB |
0.3.2 |
2026-04-09 windows/windows R-4.5 | funr_0.3.2.zip |
32.4 KiB |
0.3.2 |
2025-04-20 source/ R- | funr_0.3.2.tar.gz |
10.4 KiB |