Git Product home page Git Product logo

rakurstudio's Introduction

Raku, Rust and Tidyverse

Raku is a powerful scripting, OOP and functional programming language with robust regex grammars. This image enables to use Raku with the comfort of RStudio server.

Raku Rust License: MIT Github Stars

This repository builds three images in DockerHub.

image description
rakurstudio Docker image with R, tidyverse and Raku within RStudio® for reproducible work.
rustrakurstudio Contains Rust and cargo in addition to the above image.
swig-python-boost Contains Python 3, pybind11 and Boost.Python for wrapping C/C++ libraries in Python but without RStudio.

Rust and cargo will be useful in building R packages containing rust code.

How to run this image?

To get RStudio® session with Raku, first download Docker Desktop and follow their instructions (like for WSL). Then pull the image within Docker Desktop under Images from Hub:

  • In cmd line in Windows, run the rstudio with docker run -d -p 8787:8787 -e PASSWORD=<yourpasswordhere> --name <username> --rm -v %cd%:/home/rstudio sumankhanal/rakurstudio OR docker run -d -p 8787:8787 -e PASSWORD=<yourpasswordhere> --name <username> --rm -v %cd%:/home/rstudio sumankhanal/rustrakurstudio which will mount the current working directory to /home/rstudio within container

  • In PowerShell line in Windows, run the rstudio with docker run -d -p 8787:8787 -e PASSWORD=<yourpasswordhere> --name <username> --rm -v ${PWD}:/home/rstudio sumankhanal/rakurstudio OR docker run -d -p 8787:8787 -e PASSWORD=<yourpasswordhere> --name <username> --rm -v ${PWD}:/home/rstudio sumankhanal/rustrakurstudio which will mount the current working directory to /home/rstudio within container

  • In Git Bash Shell in Windows, run the rstudio with MSYS_NO_PATHCONV=1 docker run -d -p 8787:8787 -e PASSWORD=<yourpasswordhere> --name <username> --rm -v $(pwd):/home/rstudio sumankhanal/rakurstudio OR MSYS_NO_PATHCONV=1 docker run -d -p 8787:8787 -e PASSWORD=<yourpasswordhere> --name <username> --rm -v $(pwd):/home/rstudio sumankhanal/rustrakurstudio which will mount the current working directory to /home/rstudio within container

  • Visit http://localhost:8787/ in your browser and log in with the <username> and password you set. NB: Setting a password is now REQUIRED. Container will error otherwise.

  • Once you are done with the container, go to Docker Desktop and stop the container. Because of --rm flag while running container, stopping will remove the container.

To read more on usage, go here.

License

The Dockerfiles in this repository are licensed under MIT license.

rakurstudio's People

Contributors

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