!fXpAvneDgyJuYMZSwO:nixos.org

Nix Data Science

306 Members
64 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
11 Jul 2023
@peddie:matrix.orgpeddie as to whether you should use flakes: not really sure, I just happened to go that route 05:56:25
@brodriguesco:matrix.orgBruno Rodriguesvery interesting thanks! I’m still in exploration phase, and am reading lots of docs currently. Already managed to drop into a nix interactive shell with R and some packages. But I’m looking more into it to see if I could build some R package that would make it easy to essentially set up, for each new project one starts, an dev environment using nix06:42:52
@brodriguesco:matrix.orgBruno Rodriguesyesterday I read about flakes, so I was wondering if and what was the consensus on them :)06:43:36
@brodriguesco:matrix.orgBruno Rodrigueswhat would you say is the biggest benefit of using flakes over not using them?06:44:02
@peddie:matrix.orgpeddieOK, it sounds a bit like templates (for setting up a dev env)?07:01:43
@peddie:matrix.orgpeddieI think there is emphatically no consensus on flakes07:01:50
@brodriguesco:matrix.orgBruno Rodriguesok07:03:15
@brodriguesco:matrix.orgBruno Rodrigues I’d like to have something like setup_env("4.2.1", c("dplyr", "tidyr", "janitor"), ide = "rstudio") that would create a default.nix and build the environment. Then, users would be advised to go to the environment and start rstudio from there, so that they could work in that new environment shipping that specific version of R and packages 07:06:04
@peddie:matrix.orgpeddieah, I see, you want to configure it from an R session different to the one you want to use for development?10:10:10
@brodriguesco:matrix.orgBruno Rodriguesyes, because I want to build something that R users could use with as little friction as possible10:12:48
@brodriguesco:matrix.orgBruno Rodriguesand R users are really used to do everything from the R session, not so much from a cli tool 10:13:04
@brodriguesco:matrix.orgBruno Rodriguessomething that would mimic renv in a sense, but with nix instead (and nix would even go further, as it would even provide a separate R installation and potentielly RStudio as well)10:13:48

Show newer messages


Back to Room ListRoom Version: 6