all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#70064: Error when loading r-sf and other spatial packages (gdal related)
@ 2024-03-28 17:02 Javier Vaquero Martínez
  2024-04-04 16:04 ` Javier Vaquero Martínez
  0 siblings, 1 reply; 4+ messages in thread
From: Javier Vaquero Martínez @ 2024-03-28 17:02 UTC (permalink / raw)
  To: 70064

[-- Attachment #1: Type: text/plain, Size: 1553 bytes --]

Dear guix community,

I am quite new to Guix so I apologize if I am doing something wrong.

I added channel guix-cran to get R packages. I installed r-sf r-terra, 
and other packages. However, I cannot load them in R.

Here, at the end of the message I show and example with r-rgdal but same 
thing happens with r-sf or r-terra.

Am I doing something wrong? Can you reproduce the bug?

Regards,

Javier.

|$ guix shell r r-rgdal -- R -e "library(rgdal)" R version 4.3.3 
(2024-02-29) -- "Angel Food Cake" Copyright (C) 2024 The R Foundation 
for Statistical Computing Platform: x86_64-unknown-linux-gnu (64-bit) R 
es un software libre y viene sin GARANTIA ALGUNA. Usted puede 
redistribuirlo bajo ciertas circunstancias. Escriba 'license()' o 
'licence()' para detalles de distribucion. R es un proyecto colaborativo 
con muchos contribuyentes. Escriba 'contributors()' para obtener más 
información y 'citation()' para saber cómo citar R o paquetes de R en 
publicaciones. Escriba 'demo()' para demostraciones, 'help()' para el 
sistema on-line de ayuda, o 'help.start()' para abrir el sistema de 
ayuda HTML con su navegador. Escriba 'q()' para salir de R. > 
library(rgdal) Loading required package: sp Error: package or namespace 
load failed for ‘rgdal’ in dyn.load(file, DLLpath = DLLpath, ...): 
unable to load shared object 
'/gnu/store/xjs26gdxwj2149rzxmq1rfikbly2i1yr-r-rgdal-1.6-7/site-library/rgdal/libs/rgdal.so': 
/gnu/store/71kgqypidg2ksvwm84ccqjwyzai9ay1i-gdal-3.6.1/lib/libgdal.so.32: 
undefined symbol: GEOSConcaveHull_r |

​

[-- Attachment #2: Type: text/html, Size: 5124 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#70064: Error when loading r-sf and other spatial packages (gdal related)
  2024-03-28 17:02 bug#70064: Error when loading r-sf and other spatial packages (gdal related) Javier Vaquero Martínez
@ 2024-04-04 16:04 ` Javier Vaquero Martínez
  2024-06-05 16:54   ` Simon Tournier
  0 siblings, 1 reply; 4+ messages in thread
From: Javier Vaquero Martínez @ 2024-04-04 16:04 UTC (permalink / raw)
  To: 70064

So I managed to solve this. It turns out that some environment variables 
where making this error to happen. Running in an isolated environment 
with `guix shell -C r r-sf -- r` solves the problem.


Regards





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#70064: Error when loading r-sf and other spatial packages (gdal related)
  2024-04-04 16:04 ` Javier Vaquero Martínez
@ 2024-06-05 16:54   ` Simon Tournier
  2024-06-05 17:18     ` Javier Vaquero Martínez
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Tournier @ 2024-06-05 16:54 UTC (permalink / raw)
  To: Javier Vaquero Martínez, 70064

Hi,

On Thu, 04 Apr 2024 at 18:04, Javier Vaquero Martínez <javier_vm@unex.es> wrote:

> So I managed to solve this. It turns out that some environment variables 
> where making this error to happen. Running in an isolated environment 
> with `guix shell -C r r-sf -- r` solves the problem.

Thanks for letting us know.  Therefore, can we close?

Cheers,
simon




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#70064: Error when loading r-sf and other spatial packages (gdal related)
  2024-06-05 16:54   ` Simon Tournier
@ 2024-06-05 17:18     ` Javier Vaquero Martínez
  0 siblings, 0 replies; 4+ messages in thread
From: Javier Vaquero Martínez @ 2024-06-05 17:18 UTC (permalink / raw)
  To: Simon Tournier, 70064

Yes, it can be closed.

Regards.

El 5/6/24 a las 18:54, Simon Tournier escribió:
> [No suele recibir correo electrónico de zimon.toutoune@gmail.com. Descubra por qué esto es importante en https://aka.ms/LearnAboutSenderIdentification ]
>
> Hi,
>
> On Thu, 04 Apr 2024 at 18:04, Javier Vaquero Martínez <javier_vm@unex.es> wrote:
>
>> So I managed to solve this. It turns out that some environment variables
>> where making this error to happen. Running in an isolated environment
>> with `guix shell -C r r-sf -- r` solves the problem.
> Thanks for letting us know.  Therefore, can we close?
>
> Cheers,
> simon




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-06  5:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-28 17:02 bug#70064: Error when loading r-sf and other spatial packages (gdal related) Javier Vaquero Martínez
2024-04-04 16:04 ` Javier Vaquero Martínez
2024-06-05 16:54   ` Simon Tournier
2024-06-05 17:18     ` Javier Vaquero Martínez

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.