From: zimoun <zimon.toutoune@gmail.com>
To: divoplade <d@divoplade.fr>, Ricardo Wurmus <rekado@elephly.net>
Cc: help-guix@gnu.org
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 [thread overview]
Message-ID: <86v9b3apj2.fsf@gmail.com> (raw)
In-Reply-To: <a79c6ab69bf73e529f38e799a1681bbc787f6ff2.camel@divoplade.fr>
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
prev parent reply other threads:[~2021-02-07 15:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-05 16:14 Wrapping an R script: how do I compose the R_LIBS_SITE environment variable? divoplade
2021-02-06 13:53 ` zimoun
2021-02-06 15:28 ` Ricardo Wurmus
2021-02-07 0:24 ` divoplade
2021-02-07 7:11 ` Ricardo Wurmus
2021-02-07 9:30 ` divoplade
2021-02-07 15:03 ` zimoun [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86v9b3apj2.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=d@divoplade.fr \
--cc=help-guix@gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).