Question: Installing from CRAN in pixi? #12
-
Hi roaldarbol, Awesome project, much needed in the data science world! I have been frustrated by the need to install R packages through a conda channel for a couple of years now. It feels like installing directly from CRAN would be a much more robust and clean solution, however I have never found anyone working on it. Given that this can be done with Python packages from pip (in either conda or pixi), I feel like it should be possible with R packages from CRAN. Is this something you hope to achieve in this project? Do you have any thoughts on how installing directly from CRAN into a pixi environment (or indeed conda environment) might be done? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hey @kaedonkers! Thanks for sharing the excitement! This package simply serves as an interface for pixi, so all the packaging is dealt with on the pixi side. But we are discussing all these things; I personally feel a robust conda packaging solution is needed, which the team is building in It’s almost possible to package all the r-universe packages (which I believe includes all CRAN packages), it just need to be automated - however it’s their goal. You can follow the conversations here and give a thumbs up to the issue to let them know it should be prioritised. {rpix} is simply going to be wrapping pixi CLI commands so we can install conda packages the way we R users normally install packages (in the R console), so there’s none of the “fun” stuff happening here, simply hoping to enable a good workflow akin to {rix} does for Nix. |
Beta Was this translation helpful? Give feedback.
-
Great, thanks for the update! I agree that a conda-like solution for R packages is needed. I have tried Exciting to hear that the prefix team are working on automating the R-to-conda package pipeline, that will solve a lot! |
Beta Was this translation helpful? Give feedback.
-
Yeah, it's the cross-language solutions I'm missing too. |
Beta Was this translation helpful? Give feedback.
Hey @kaedonkers!
Thanks for sharing the excitement! This package simply serves as an interface for pixi, so all the packaging is dealt with on the pixi side. But we are discussing all these things; I personally feel a robust conda packaging solution is needed, which the team is building in
rattler-build
. Alternatively they would have to work on something like porting renv. They did something similarlybfor pip, but since it was a lot of work and uv cane along it made more sense to utilize their work.It’s almost possible to package all the r-universe packages (which I believe includes all CRAN packages), it just need to be automated - however it’s their goal. You can follow the conversatio…