!fXpAvneDgyJuYMZSwO:nixos.org

Nix Data Science

293 Members
63 Servers

Load older messages


SenderMessageTime
23 Mar 2023
@necrophcodr:matrix.orgnecrophcodr
In reply to @jb:vk3.wtf
Renv and nix have overlapping functionality, was there something you specifically needed renv for?
Yes, R development on Windows. We do not work in a homogeneous environment
22:08:44
@necrophcodr:matrix.orgnecrophcodrIf everyone used NixOS I wouldn't even be asking either, we'd just use Nix flakes for the entire thing and have it be reproducible that way. Unfortunately that is not an option here with too much overlap between not only departments but also organisations.22:10:31
@necrophcodr:matrix.orgnecrophcodr Technically I suppose it could be possible to generate an renv.lock file from the nix development environment too. If that's a viable route, I am definitely not opposed to going the opposite direction. 22:12:01
@necrophcodr:matrix.orgnecrophcodr
In reply to @necrophcodr:matrix.org
Technically I suppose it could be possible to generate an renv.lock file from the nix development environment too. If that's a viable route, I am definitely not opposed to going the opposite direction.
(only I have no real idea how to do that)
22:12:21
@jb:vk3.wtfjbedoyou couldn't generate the lockfile entirely from an expression, as rPackages uses sh256 hashes and cran et al use md522:35:59
@jb:vk3.wtfjbedoactually maybe you can build an R environment with nix (that contains renv) and use snapshot22:57:36
@jb:vk3.wtfjbedo snapshot(type='all') 22:57:48
@jb:vk3.wtfjbedoi think that'll pick up all the R packages22:57:53
@necrophcodr:matrix.orgnecrophcodr I've tried that and it didn't really work, but maybe I've been doing that wrong. I'll give it another go. I'm facing an issue with renv as well where it seems that running R inside an area where renv is already initialized seems to ignore all R packages added with rWrapper.override 22:58:37
@necrophcodr:matrix.orgnecrophcodrHeck I might also end up rolling my own solution that'll generate nix expressions for this instead, or generate an renv.lock from a nix expression.23:00:15
@necrophcodr:matrix.orgnecrophcodr I'd like to avoid doing that as it isn't as neat, but if R -e "renv::snapshot(type='all')" doesn't work, I might just end up going the long way around 23:00:53
@jb:vk3.wtfjbedo renv might be changing the library paths to only point at its project local dirs, you could read the R_LIBS_SITE environment variable and add them to your library paths after loading 23:03:21
@necrophcodr:matrix.orgnecrophcodrI'll make a note of that when I give this a shot tomorrow morning for sure. Thanks for all the tips so far either way!23:03:59
@jb:vk3.wtfjbedono worries :)23:04:25
24 Mar 2023
@lihram:jnh.ems.hostHilmar (he/him) left the room.22:07:09
28 Mar 2023
@robmicha:matrix.tu-bs.deRobert Michael joined the room.08:06:19
1 Apr 2023
@nanoni17728:matrix.orgNano joined the room.13:15:49
@nanoplink:matrix.orgnanoni17728 joined the room.13:36:25
4 Apr 2023
@kai-tub:matrix.orgKai joined the room.06:13:41
5 Apr 2023
@redstone-menace:matrix.orgredstone-menace joined the room.05:49:39
15 Apr 2023
@nahfe:nahfe.xyzHerman left the room.20:52:21
16 Apr 2023
@ianluo001:matrix.orgian luo joined the room.02:27:36
17 Apr 2023
@dev.hell:matrix.orgdevhell changed their display name from dev.hell to devhell.09:08:52
22 Apr 2023
@yorickvp:matrix.orgyorickvp joined the room.10:09:37
23 Apr 2023
@mcwitt:matrix.orgmcwittAny users of https://github.com/tweag/jupyenv figured out how to add extensions that must be installed in the same Python env with JupyterLab? (e.g. https://github.com/mwouts/jupytext)19:08:24
26 Apr 2023
@swendel:curious.bioSebastian joined the room.08:14:01
7 May 2023
@lotte:chir.rsCharlotte 🦝 (it/rac/racs/racself/🦝/plush) joined the room.07:42:45
8 May 2023
@lotte:chir.rsCharlotte 🦝 (it/rac/racs/racself/🦝/plush) changed their profile picture.07:11:39
9 May 2023
@bbenno:matrix.orgbbenno left the room.14:08:32
@carlthome:matrix.orgCarl Thomé left the room.19:49:15

Show newer messages


Back to Room ListRoom Version: 6