littler

A scripting and command-line front-end for GNU R

https://github.com/eddelbuettel/littler

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.9%) to scientific vocabulary

Keywords

cran embedded examples littler r r-package

Keywords from Contributors

pandoc tidy-data unit-testing rcpp r-packages c-plus-plus-20 c-plus-plus-17 c-plus-plus-14 c-plus-plus-11 curl
Last synced: 6 months ago · JSON representation

Repository

A scripting and command-line front-end for GNU R

Basic Info
Statistics
  • Stars: 322
  • Watchers: 8
  • Forks: 53
  • Open Issues: 0
  • Releases: 24
Topics
cran embedded examples littler r r-package
Created over 12 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License Authors

README.md

littler: A scripting and command-line front-end for GNU R

CI License CRAN r-universe Dependencies Downloads Last Commit Documentation

So What Is It For?

```r

!/usr/bin/env r ## for use in scripts

other input | r ## for use in pipes

r somefile.R ## for running files

r -e 'expr' ## for evaluating expressions

r --help ## to show a quick synopsis ```

Examples?

Plenty. See the examples vignette for a full set of introductory examples. Also see the examples/ directory for a full 28 example scripts, as well as maybe the older tests directory both of which are installed with the package.

Some scripts I use daily or near daily (in alphabetical order):

build.r ## builds from the current directory c4c.r ## submits current directory to winbuilder compAttr.r ## run compileAttributes() for a Rcpp package dratInstert.r 1.2-3.tar.gz -r /srv ## inserts package into drat repo install.r abc def ## installs packages abc and def install.r abc_1.2-3.tar.gz ## installs given tarball install2.r -l /tmp/lib abc def ## installs abc and def into /tmp/lib rcc.r abc_1.2-3.tar.gz ## run's R CMD check via Gabor's rcmdcheck render.r foo.Rmd ## calls rmarkdown::render() roxy.r ## run roxygenize() for a package (only Rd creation) update.r ## updates any currently installed packages

Installation

Version 0.3.0 or later

The package resides on the CRAN network and can be installed via

install.packages("littler")

Note that the package states OS_type: unix. It works great on all Linux variants, with a naming caveat on macOS (see below and the FAQ vignettes) and not at all on Windows (but could be ported just like RInside has been--the two show architectural similarities).

Previous Versions up to 0.2.3

In general, simply running the script bootstrap will configure and build the executable. Running make install (possibly as sudo make install) will install the resulting binary.

On Linux systems, ensure you have the autotools-dev package (or its equivalent on non-Debian/Ubuntu systems). On OS X, you may need to run brew install automake autoconf to get all the tools.

Alternate Naming

On some operating systems such as OS X, r is not different from R. As this risks confusing the main binary R for the R system with our smaller scripting frontend r, we suggest to consider running configure --program-prefix="l" which this leads to installation of a binary lr instead of r.

Alternate R Version

As littler uses autoconf its AC_PATH_PROG() macro to find R, one can simply adjust the PATH when calling configure (or, rather, bootstrap) to have another version of R used. For example, on a server with R-devel in this location, the following builds littler using this R-devel version: PATH="/usr/local/lib/R-devel/bin/:$PATH" ./bootstrap.

More Information

For more information about littler, please see

(but note that the latter now overlaps with the example vignette).

Authors

Jeff Horner (2006 to 2008) and Dirk Eddelbuettel (since 2006)

License

GPL (>= 2)

Owner

  • Name: Dirk Eddelbuettel
  • Login: eddelbuettel
  • Kind: user
  • Location: Chicago, IL, USA

GitHub Events

Total
  • Issues event: 3
  • Watch event: 9
  • Issue comment event: 17
  • Push event: 24
  • Pull request review comment event: 4
  • Pull request review event: 8
  • Pull request event: 5
  • Fork event: 5
Last Year
  • Issues event: 3
  • Watch event: 9
  • Issue comment event: 17
  • Push event: 24
  • Pull request review comment event: 4
  • Pull request review event: 8
  • Pull request event: 5
  • Fork event: 5

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 716
  • Total Committers: 21
  • Avg Commits per committer: 34.095
  • Development Distribution Score (DDS): 0.144
Past Year
  • Commits: 33
  • Committers: 3
  • Avg Commits per committer: 11.0
  • Development Distribution Score (DDS): 0.091
Top Committers
Name Email Commits
Dirk Eddelbuettel e****d@d****g 613
Jeffrey Horner j****r@g****m 56
Carl Boettiger c****g@g****m 12
Gergely Daroczi (@daroczig) d****g@r****t 8
Brandon Bertelsen b****n@b****a 3
eitsupi t****n@g****m 3
Sergio Oller s****r@g****m 2
Mattias Ellert m****t@f****e 2
Jon Clayden c****e@c****g 2
Jeroen Ooms j****s@g****m 2
Iñaki Úcar i****r@f****g 2
Colin Gillespie c****e@g****m 2
(no author) (****) 1
Steven Pav s****n@c****o 1
Aaron Wolen a****n@w****m 1
BerwinTurlach 4****h 1
John Kerl k****r@g****m 1
Michael Chirico m****4@g****m 1
Pieter Moris p****s@g****m 1
Stefan Widgren s****n@g****m 1
Thell 'Bo' Fowler t****l@t****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 68
  • Total pull requests: 48
  • Average time to close issues: 12 days
  • Average time to close pull requests: about 16 hours
  • Total issue authors: 54
  • Total pull request authors: 24
  • Average comments per issue: 5.76
  • Average comments per pull request: 2.65
  • Merged pull requests: 42
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 7
  • Average time to close issues: 4 days
  • Average time to close pull requests: about 11 hours
  • Issue authors: 1
  • Pull request authors: 3
  • Average comments per issue: 3.5
  • Average comments per pull request: 2.43
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • nick-youngblut (3)
  • malcook (3)
  • csgillespie (3)
  • eddelbuettel (3)
  • zivankaraman (2)
  • mllg (2)
  • pgensler (2)
  • 1beb (2)
  • setempler (2)
  • aborruso (2)
  • alexDeCastroAtGit (1)
  • acpguedes (1)
  • prRZ5F4LXZ (1)
  • severach (1)
  • xhudik (1)
Pull Request Authors
  • eddelbuettel (15)
  • jonclayden (4)
  • cboettig (3)
  • eitsupi (3)
  • daroczig (3)
  • MichaelChirico (2)
  • 1beb (2)
  • BerwinTurlach (2)
  • aaronwolen (1)
  • l-k- (1)
  • shabbychef (1)
  • pmoris (1)
  • csgillespie (1)
  • jeroen (1)
  • datawookie (1)
Top Labels
Issue Labels
enhancement (1) wontfix (1) help wanted (1)
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • cran 1,742 last-month
  • Total docker downloads: 62,538,327
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 4
    (may contain duplicates)
  • Total versions: 32
  • Total maintainers: 1
cran.r-project.org: littler

R at the Command-Line via 'r'

  • Versions: 22
  • Dependent Packages: 0
  • Dependent Repositories: 2
  • Downloads: 1,742 Last month
  • Docker Downloads: 62,538,327
Rankings
Docker downloads count: 0.0%
Stargazers count: 1.4%
Forks count: 1.4%
Downloads: 10.0%
Average: 10.1%
Dependent repos count: 19.6%
Dependent packages count: 28.0%
Maintainers (1)
Last synced: 6 months ago
conda-forge.org: r-littler
  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 2
Rankings
Dependent repos count: 20.2%
Stargazers count: 22.4%
Forks count: 24.9%
Average: 29.8%
Dependent packages count: 51.6%
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • docopt * suggests
  • foghorn * suggests
  • rcmdcheck * suggests
  • simplermarkdown * suggests
.github/workflows/ci.yaml actions
  • actions/checkout v3 composite