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


Release history Release notifications

History Node

0.1.4

This version
History Node

0.1.3

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
birdhousebuilder.recipe.r-0.1.3.tar.gz (5.1 kB) Copy SHA256 hash SHA256 Source None Aug 1, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page