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

on-update

If set to false don’t update R packages on buildout update. Default: false.

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
on-update = false

Authors

Carsten Ehbrecht ehbrecht at dkrz.de

Changes

0.1.4 (2014-12-02)

  • Fixed on-update option.

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.4.tar.gz (5.2 kB view hashes)

Uploaded Source

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