littler is the first command-line interface for R and predates
Rscript. In my very biased eyes better as it allows for piping as well shebang scripting via
#!, uses command-line arguments more consistently and still starts faster. Last but not least it is also less silly than
Rscript and always loads the
methods package avoiding those bizarro bugs between code running in
R itself and a scripting front-end.
littler prefers to live on Linux and Unix, has its difficulties on OS X due to yet-another-braindeadedness there (who ever thought case-insensitive filesystems where a good idea?) and simply does not exist on Windows (yet — the build system could be extended — see RInside for an existence proof, and volunteers welcome!).
A few examples as highlighted at the Github repo:
This release brings a few new examples scripts, extends a few existing ones and also includes two fixes thanks to Carl. Again, no internals were changed. The
NEWS file entry is below.
Changes in littler version 0.3.3 (2017-12-17)
Changes in examples
installGithub.rnow correctly uses the
upgradeargument (Carl Boettiger in #49).
pnrrs.rto call the package-native registration helper function added in R 3.4.0
install2.rnow has more robust error handling (Carl Boettiger in #50).
cow.rto use R Hub’s
-f) for scripts
rcc.rfor faster package build and check
build.rscript now defaults to using the current directory if no argument is provided.
The RStudio getters now use the
rvestpackage to parse the webpage with available versions.
Changes in package
- Travis CI now uses https to fetch script, and sets the group
Courtesy of CRANberries, there is a comparison to the previous release. Full details for the littler release are provided as usual at the ChangeLog page. The code is available via the GitHub repo, from tarballs off my littler page and the local directory here — and now of course all from its CRAN page and via
install.packages("littler"). Binary packages are available directly in Debian as well as soon via Ubuntu binaries at CRAN thanks to the tireless Michael Rutter.
Comments and suggestions are welcome at the GitHub repo.