Code Monkey home page Code Monkey logo

citworkshopubonn's Introduction

r-binder-template

A template repository for binderising one off R notebooks for workshops and training.

This repository is intended as a compact template for deploying one off notebooks and training materials for customised workshops. Frequently run tutorials and maintained notebooks might be better off in the interactive notebooks repository instead.

Usage

  1. Click the "Use this template" in the GitHub web UI to create a new repository with these skeleton elements for binderisation.
  2. Choose the R version and put it in runtime.txt in the format: r-a.b.c-YYYY-MM-DD where a.b.c is the R version number and YYYY-MM-DD is a snapshot date for packages.
  3. Specify R dependencies in install.R, using standard R installation syntax: install.packages('dplyr')
  4. Specify systems dependencies in apt.txt, with one line per package and the required package name
  5. Whack your notebook (either ipynb or Rmd) and associated small data files in the repo.
    • For a single jupyter notebook this might just be at the root of the repo
    • You might want to put data files in a data subfolder
    • If you want to share a few notebooks in the same repo, it might be better to place in a notebooks subfolder
  6. Customise the readme and description as appropriate.
  7. Setup the binder link on the ATAP Binder Instance or My Binder(Broadly accessible, but lower memory/CPU limits). You will point binder to the repository you have created from this template, probably using the main branch, and providing the name of the notebook you want to be launched by default (if desired).
  8. Place the generated binder link (ideally with the Binder icon) in the readme.

citworkshopubonn's People

Contributors

martinschweinberger avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.