A scripting and command-line front-end for GNU R permitting use of R in command-line contexts.
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.
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
.
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
.
For more information about littler, please see
Jeff Horner and Dirk Eddelbuettel
GPL (>= 2)