Giter Site home page Giter Site logo

edgyr-pi's Introduction

edgyR-pi: Docker Images for Raspberry Pi R Developers

Introduction

The edgyR project was designed by M. Edward (Ed) Borasky [email protected] to make R a first-class language for edge computing developers (arm64/aarch64 architecture). It is forged to run in NVIDIA Jetson Nano cluster and applied to digital audio synthesis.

This edgyR-pi project is a minimalist port for Raspberry Pi developers.

How is edgyR pronounced?

There are (at least) five options:

  1. ED-grrr

  2. ED-gyre

  3. EDGE-er

  4. Edgier

  5. Edgy R

It is not pronounced like any brand of peanut butter. Otherwise, it's your choice!

Getting set up

  1. Buy a Raspberry Pi 4.

    • Raspberry Pi 4 has a quad-core ARMv8 64-bit CPU.

    • 4 GB RAM: This is the minimum recommended environment for edgyR. A 64 GB microSD card should be fine for docker use.

  2. Set up Docker runtime

  3. Just about everything you'd ever want is available via docker run or sudo apt install in Linux, and install.packages or devtools::install in R.

    If you want more - arm64 binaries downloaded from upstream projects or built from upstream source for

    all on a Docker image, then read on!

  4. Set up a swap memory (we will need for the building to avoid Out of Memory error)

    • As an Ubuntu user, I followed this tutorial from somewhere in Digital Ocean community.
    # if the system has any configured swap
    $ sudo swapon --show
    
    # see if there is no active swap
    $ free -h
    
    # check available space
    $ df -h
    
    # creates a file for the swap memory (just used 1 GB, didn't check the recommendations)
    $ sudo fallocate -l 1G /swapfile
    
    # check the current amount of space that was resserved
    $ ls -lh /swapfile
    
    # make accessible to root
    $ sudo chmod 600 /swapfile
    
    # mark the file as swap space
    $ sudo mkswap /swapfile
    
    # enable the swap file
    $ sudo swapon /swapfile
    
    # verify that the swap is available
    $ sudo swapon --show
    
    # also check with the free utility
    $ free -h
    

Licensing

Because the edgyR Docker image redistributes RStudio Server in binary form, it uses the same license as RStudio - the GNU Affero General Public License. This essentially means I have to make all the source code I've modified to anyone who wants it.

For edgyR, that comprises two places:

  • the code in this repository, mostly Dockerfiles and bash scripts, and

  • some directories on the internal builder images, which reside in the Docker Hub pinei organization. s

Contributing

Contributing to the project is really quite simple:

  1. Read the code of conduct at https://github.com/pinei/edgyR-pi/blob/master/CODE_OF_CONDUCT.md.

  2. Everything starts with an issue. See Always start with an issue for the philosophy.

Please, don't go through the mechanics of forking / pull requests even for trivial typo changes without filing an issue. File an issue.

edgyr-pi's People

Contributors

pinei avatar znmeb avatar

Stargazers

 avatar  avatar  avatar  avatar

Forkers

tazovsky

edgyr-pi's Issues

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.