help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wrapping an R script: how do I compose the R_LIBS_SITE environment v


From: zimoun
Subject: Re: Wrapping an R script: how do I compose the R_LIBS_SITE environment variable?
Date: Sun, 07 Feb 2021 16:03:29 +0100

Hi,

On Sun, 07 Feb 2021 at 10:30, divoplade <d@divoplade.fr> wrote:
> Le dimanche 07 février 2021 à 08:11 +0100, Ricardo Wurmus a écrit :

>> The r-build-system has a procedure “generate-site-path” to generate
>> R_LIBS_SITE.
>
> Thank you, I did not know about this function. It is not exported, but
> I can copy it, or re-use the R_LIBS_SITE environment variable after the
> install phase.

The Guile modules are a bit mysterious for me but you can try:

  (define generate-site-path
     (@@ (guix build r-build-system) generate-site-path))

instead of copying.


Cheers,
simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]