Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pixi-rpy issues #70

Open
2 tasks
Robinlovelace opened this issue Sep 22, 2024 · 0 comments
Open
2 tasks

pixi-rpy issues #70

Robinlovelace opened this issue Sep 22, 2024 · 0 comments

Comments

@Robinlovelace
Copy link
Contributor

After all the effort getting it working, seems that there are some issues with the image:

  • Image size (2.7 vs 2.2 GB for pixi-based vs Rocker-based)

|

From:

image

  • Not currently working:
docker run -it pixi-rpy
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
root@a5c3b960b699:/# R  
bash: R: command not found
root@a5c3b960b699:/# /        
.dockerenv  bin/        dev/        home/       lib64/      mnt/        proc/       run/        srv/        tmp/        var/        
.pixi/      boot/       etc/        lib/        media/      opt/        root/       sbin/       sys/        usr/        
root@a5c3b960b699:/# .pixi/envs/default/
bin/                         conda-meta/                  include/                     man/                         ssl/                         x86_64-conda_cos6-linux-gnu/ 
cmake/                       etc/                         lib/                         sbin/                        var/                         
compiler_compat/             fonts/                       libexec/                     share/                       x86_64-conda-linux-gnu/      
root@a5c3b960b699:/# .pixi/envs/default/
bin/                         conda-meta/                  include/                     man/                         ssl/                         x86_64-conda_cos6-linux-gnu/ 
cmake/                       etc/                         lib/                         sbin/                        var/                         
compiler_compat/             fonts/                       libexec/                     share/                       x86_64-conda-linux-gnu/      
root@a5c3b960b699:/# .pixi/envs/default/bin/
Display all 629 possibilities? (y or n)
root@a5c3b960b699:/# .pixi/envs/default/bin/R

R version 4.4.1 (2024-06-14) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-conda-linux-gnu

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C" 
2: Setting LC_COLLATE failed, using "C" 
3: Setting LC_TIME failed, using "C" 
4: Setting LC_MESSAGES failed, using "C" 
5: Setting LC_MONETARY failed, using "C" 
6: Setting LC_PAPER failed, using "C" 
7: Setting LC_MEASUREMENT failed, using "C" 

 *** caught segfault ***
address (nil), cause 'memory not mapped'

Possible actions:

From:

FROM ghcr.io/geocompx/docker:pixi-r
# Todo: Find a way to auto-generate this from environment.yml/requirements.txt:
RUN pixi global install python xarray matplotlib folium rasterio r-reticulate
RUN ln -s /root/.pixi/bin/* /usr/local/bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant