23 Mar 2023 |
necrophcodr | 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 | 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 |
jbedo | you couldn't generate the lockfile entirely from an expression, as rPackages uses sh256 hashes and cran et al use md5 | 22:35:59 |
jbedo | actually maybe you can build an R environment with nix (that contains renv) and use snapshot | 22:57:36 |
jbedo | snapshot(type='all') | 22:57:48 |
jbedo | i think that'll pick up all the R packages | 22:57:53 |
necrophcodr | 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 | Heck 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 | 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 |
jbedo | 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 | I'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 |
jbedo | no worries :) | 23:04:25 |
24 Mar 2023 |
| Hilmar (he/him) left the room. | 22:07:09 |
28 Mar 2023 |
| Robert Michael joined the room. | 08:06:19 |
1 Apr 2023 |
| Nano joined the room. | 13:15:49 |
| nanoni17728 joined the room. | 13:36:25 |
4 Apr 2023 |
| Kai joined the room. | 06:13:41 |
5 Apr 2023 |
| redstone-menace joined the room. | 05:49:39 |
15 Apr 2023 |
| Herman left the room. | 20:52:21 |
16 Apr 2023 |
| ian luo joined the room. | 02:27:36 |
17 Apr 2023 |
| devhell changed their display name from dev.hell to devhell. | 09:08:52 |
22 Apr 2023 |
| yorickvp joined the room. | 10:09:37 |
23 Apr 2023 |
mcwitt | Any 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 |
| Sebastian joined the room. | 08:14:01 |
7 May 2023 |
| Charlotte 🦝 (it/rac/racs/racself/🦝/plush) joined the room. | 07:42:45 |
8 May 2023 |
| Charlotte 🦝 (it/rac/racs/racself/🦝/plush) changed their profile picture. | 07:11:39 |
9 May 2023 |
| bbenno left the room. | 14:08:32 |
| Carl Thomé left the room. | 19:49:15 |
| Carl Thomé joined the room. | 19:51:31 |
Carl Thomé | Anyone working on packaging JAX to nixpkgs? It depends on tensorstore now which has a pretty involved Bazel build via Bazelisk via a setup.py so seemed kinda hairy to fix. | 19:54:11 |