All Projects → eddelbuettel → Littler

eddelbuettel / Littler

Licence: gpl-2.0
A scripting and command-line front-end for GNU R

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Littler

Rinside
Seamless embedding of R in C++ programs
Stars: ✭ 112 (-52.94%)
Mutual labels:  r-package, cran, embedded
Wooldridge
The official R data package for "Introductory Econometrics: A Modern Approach". A vignette contains example models from each chapter.
Stars: ✭ 90 (-62.18%)
Mutual labels:  r-package, cran
Markovchain
Easy Handling Discrete Time Markov Chains
Stars: ✭ 80 (-66.39%)
Mutual labels:  r-package, cran
Minicran
R package to create internally consistent, mini version of CRAN
Stars: ✭ 123 (-48.32%)
Mutual labels:  r-package, cran
Tint
Tint is not Tufte
Stars: ✭ 226 (-5.04%)
Mutual labels:  r-package, cran
Nanotime
Nanosecond Resolution Time Functionality for R
Stars: ✭ 39 (-83.61%)
Mutual labels:  r-package, cran
Mlr
Machine Learning in R
Stars: ✭ 1,542 (+547.9%)
Mutual labels:  r-package, cran
Rcpp
Seamless R and C++ Integration
Stars: ✭ 572 (+140.34%)
Mutual labels:  r-package, cran
Rblpapi
R package interfacing the Bloomberg API from https://www.bloomberglabs.com/api/
Stars: ✭ 133 (-44.12%)
Mutual labels:  r-package, cran
Pinp
Pinp Is Not PNAS -- Two-Column PDF Template
Stars: ✭ 134 (-43.7%)
Mutual labels:  r-package, cran
Osrm
Shortest Paths and Travel Time from OpenStreetMap with R
Stars: ✭ 160 (-32.77%)
Mutual labels:  r-package, cran
Pacman
A package management tools for R
Stars: ✭ 220 (-7.56%)
Mutual labels:  r-package, cran
Configr
Implements the JSON, INI, YAML and TOML parser, for R setting and writing of configuration file.
Stars: ✭ 38 (-84.03%)
Mutual labels:  r-package, cran
Pkgsearch
Search R packages on CRAN
Stars: ✭ 73 (-69.33%)
Mutual labels:  r-package, cran
Rcppexamples
Examples of using Rcpp to interface R and C++
Stars: ✭ 33 (-86.13%)
Mutual labels:  examples, cran
Simmer
Discrete-Event Simulation for R
Stars: ✭ 170 (-28.57%)
Mutual labels:  r-package, cran
digest
R package to create compact hash digests of R objects
Stars: ✭ 94 (-60.5%)
Mutual labels:  cran, r-package
Dataexplorer
Automate Data Exploration and Treatment
Stars: ✭ 362 (+52.1%)
Mutual labels:  r-package, cran
Drat
Drat R Archive Template
Stars: ✭ 127 (-46.64%)
Mutual labels:  r-package, cran
Webservices
CRAN WebTechnologies Task View
Stars: ✭ 160 (-32.77%)
Mutual labels:  r-package, cran

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

Build Status CI License CRAN Dependencies Downloads Last Commit Documentation

So What Is It For?

#!/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 uses 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 roxyenize() 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")

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 risk 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)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].