mstdn.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A general-purpose Mastodon server with a 500 character limit. All languages are welcome.

Administered by:

Server stats:

15K
active users

#rlang

1 post1 participant0 posts today

Running RStudio in a rootless container on Linux.

This approach avoids dealing with compiling basic packages or adding extra repositories to your main OS, and it's targeted for running the container on your computer and not somewhere else.

1. Get
Podman (make sure it works rootless)
2. Run the following command in a terminal (see "
man podman-run" for details on what it does)

podman run --rm -it -p 8787:8787 -e PASSWORD=baa -v $HOME:/root/home -v $HOME/.config/rstudio:/root/.config/rstudio docker.io/rocker/verse
3. Open localhost:8787 in your browser, log in with "root" as the user and "baa" as the password (you can choose another password, it only really matters if your computer lacks a firewall)

If you need other sets of preinstalled packages see
the rocker docs for other images than docker.io/rocker/verse. For example docker.io/rocker/shiny-verse.

This
blog post helped me figure out what things are worth mounting in the container (you may want to add more things than only the Rstudio configuration).

I'm probably gonna turn this post into an article over at
my blog at some point later.

#Rlang #Rstudio #Bioinformatics
podman.ioPodman

off-late, I've been feeling like i need to start learning a programming language with practical applications. something I can use to write stuff on my Linux system for my use or something which i can put up on my Sourcehut. and something a little challenging too, because where's the fun in straightforward stuff?

R has been great but, of course, that's just for data analysis. python seemed interesting but more recently Rust is what has been drawing me in.

how does one get started with Rust? what are some good resources for learning and practicing the language? i can figure out the Emacs side of things myself.

What does #rlang need to help folks easily migrate to #codeberg ?

Some ideas:
💡codeberg equivalent to r-lib/actions
💡migration guide
💡usethis::use_codeberg() - create new repo or provide instructions for migrating if already on GitHub, similar to use_github
💡usethis::use_codeberg_ci() - equivalent to use_github_action

anything else that would help people make the jump?

Every once in a while I say to myself: "It seems like using LLMs to code is widespread. Every time I've tried this in the past it has provided objectively wrong code at least half the time, but surely things must have improved if everyone is still using them!"

Today was one of those days (giving qwen2.5-coder some very simple R problems) and, nope, still just absolute garbage output. The majority of the code it produced was sometimes obviously, but sometimes subtly wrong.

#Pixi pack: una opción para resolver el problema de distribución de paquetes multiplataforma y de lenguaje agnóstico.
Pixi es un proyecto de @prefix que moderniza la gestión de dependencias basado en paquetes #conda, que por defecto uso el canal de #condaforge (luego, no es susceptible a los cambios de licencia de #anaconda).

#python #rlang #data #fortran

@prefix hachyderm.io/@prefix/113151718

Hachyderm.ioprefix.dev (@prefix@hachyderm.io)Attached: 1 image 📦 Introducing pixi-pack for offline, single-file environment installation! 👀 Checkout what Pavel Zwerschke build at Quantco! 🎥 Check out the video: https://www.youtube.com/watch?v=WQidF4BWBw0 🚀