Giter Club home page Giter Club logo

Comments (10)

grantmcdermott avatar grantmcdermott commented on June 14, 2024 1

Strongly in favour.

Specifically, I think this covers a core use case for R DevContainers: provisioning a fully fledged, but still light(ish)weight R environment that Just Works. You empower the user to decide how they want to modify/extend their container after it's built, without having to guess and preempt what they want beforehand.

If I may, I would also suggest adding a simple (Codespaces?) example to the Rocker website. The current docs are certainly helpful if you already know what DevContainers are and why they are cool. But they don't really give novices much an of idea why they are so useful/interesting.

+1 on the linter, although I have my own idiosyncratic preferences here. (Team = for assignment for one!)

from devcontainer-templates.

grantmcdermott avatar grantmcdermott commented on June 14, 2024 1

PS. Might be worth thinking of a sister r2u+RStudio template, as that's come up a few times on social media since I posted my example repo.

from devcontainer-templates.

eitsupi avatar eitsupi commented on June 14, 2024 1

I have opened a PR #21

from devcontainer-templates.

eitsupi avatar eitsupi commented on June 14, 2024 1

@eddelbuettel Looks great!

One thing I learned is that GitHub has the ability to generate badges for Codespaces.
https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/setting-up-your-repository/facilitating-quick-creation-and-resumption-of-codespaces#creating-a-link-to-the-codespace-creation-page-for-your-repository

from devcontainer-templates.

grantmcdermott avatar grantmcdermott commented on June 14, 2024 1

Late to this, but looks great @eitsupi! The badges are a nice touch.

I agree with @eddelbuettel that the Rocker website has become a bit sprawling. Still, I personally think there is value in adding your example(s) to the official docs. (At least, the Template repo could be made to look like this, no?) I may yet be proven wrong but I think there will be a lot of interest in this sort of thing once the universities get back from summer vacation and teaching starts back up again.

Like everyone else, I'm also pressed for time. However, I'll have a think on what an intro tutorial might look like beyond the examples here and on Dirk's blog. Both are already a big improvement on what was there before (thanks for indulging my suggestions).

from devcontainer-templates.

eddelbuettel avatar eddelbuettel commented on June 14, 2024

I'd be in favor, but I am not without bias here. For what it is worth I did a quick try this afternoon using

  "ghcr.io/rocker-org/devcontainer-features/r-apt:0": {
    // See: https://github.com/rocker-org/devcontainer-features/blob/main/src/r-apt/README.md#options
    "vscodeRSupport": "full",
    "installBspm": true,
    "installRadian": false,
    "installDevTools": false,
    "installRMarkdown": false,
    "installVscDebugger": false,
    "useTesting": false
    }

Initial start is still not as fast as I'd would wish for but that is just a one-off cost. Works otherwise and is lovely. (I also turned the obnoxious linter off.)

from devcontainer-templates.

eitsupi avatar eitsupi commented on June 14, 2024

Ok, thanks both. Let's add it. This is an easy task.

If I may, I would also suggest adding a simple (Codespaces?) example to the Rocker website. The current docs are certainly helpful if you already know what DevContainers are and why they are cool. But they don't really give novices much an of idea why they are so useful/interesting.

Do you mean something like these?
https://github.com/microsoft/vscode-remote-try-node
https://github.com/microsoft/vscode-remote-try-python

Of course it is possible, but I doubt I have the bandwidth.......

PS. Might be worth thinking of a sister r2u+RStudio template, as that's come up a few times on social media since I posted my example repo.

To do so, we must first create a Dev Container Feature to configure RStudio Server.
See rocker-org/devcontainer-features#71

from devcontainer-templates.

eitsupi avatar eitsupi commented on June 14, 2024

If I may, I would also suggest adding a simple (Codespaces?) example to the Rocker website. The current docs are certainly helpful if you already know what DevContainers are and why they are cool. But they don't really give novices much an of idea why they are so useful/interesting.

I created a simple repository https://github.com/eitsupi/devcontainer-try-r

@grantmcdermott @eddelbuettel @cboettig What do you think? Is it worth transferring to this organization?

I honestly don't have the energy to write a lengthy tutorial......

from devcontainer-templates.

eddelbuettel avatar eddelbuettel commented on June 14, 2024

I kinda did, in a narrower r2u context, as a README.md in this directory for r2u, which I thend also turned into this vignette for r2u and the basis for this blogpost (and tweet & toot). It is all r2u, so not rig or rstudio or pak or ... here. Also outside the org. I suppose we want something for rocker but the website is already so sprawling and the spread of containers is already hard to follow. 😿

from devcontainer-templates.

eddelbuettel avatar eddelbuettel commented on June 14, 2024

I guess it depends a little on 'what people really want'.

@grantmcdermott and I were happy to poke around and promote 'easy ways to run R and all its packages in the cloud', that is an r2u use case. I am not sure if 'kids these days' still want rstudio or not (beginners likely do) and how viable leaning on the cloud instances and their 32gb storage is to, say, survive a course for a term.

from devcontainer-templates.

Related Issues (6)

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.