Skip to main content

A Buildout recipe to install R packages with Anaconda.

Project description

Introduction

birdhousebuilder.recipe.r is a Buildout recipe to install R Project packages with Anaconda.

Usage

The recipe requires that Anaconda is already installed. It assumes that Anaconda is installed at the default location in your home directory ~/anaconda. Otherwise you need to set the Buildout option anaconda-home to the correct location.

It installs the r package from a conda channel with additional packages from a given R repository. R will then be available in Anaconda ~/anaconda/bin/R.

The recipe depends on birdhousebuilder.recipe.conda.

Supported options

The recipe supports the following options:

anaconda-home

Buildout option with the root folder of the Anaconda installation. Default: $HOME/anaconda.

repo

R Project repository with R packages.

pkgs

List of R packages which should be installed (space separated).

Example usage

Example usage in your buildout.cfg to install R with Anaconda and additional R packages (sp, raster, ncdf) from a R repository:

[buildout]
parts = r_pkgs

anaconda-home = /home/myself/anaconda

[r_pkgs]
recipe = birdhousebuilder.recipe.r
repo = http://ftp5.gwdg.de/pub/misc/cran
pkgs = sp raster ncdf

Authors

Carsten Ehbrecht ehbrecht at dkrz.de

Changes

0.1.3 (2014-08-01)

Updated documention.

0.1.2 (2014-07-30)

Bugfix: use R from anaconda home.

0.1.1 (2014-07-21)

Bugfix: conda install of R package fails on CentOS

0.1.0 (2014-07-10)

Initial Release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

birdhousebuilder.recipe.r-0.1.3.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file birdhousebuilder.recipe.r-0.1.3.tar.gz.

File metadata

File hashes

Hashes for birdhousebuilder.recipe.r-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d8e3e1ba73ae8e163b9ea1e4c92033d4d7de110794e927f80b76e52ec6aa8aa0
MD5 3c2d144a8bbdbd35b06ba913fc70f83f
BLAKE2b-256 9f9bae1ad7f66dfa6ed5854c3c088b12ea2434dbbef60f55a96cc661164a7926

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page