guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] gnu: r: Add which to propagated-inputs.


From: Ludovic Courtès
Subject: Re: [PATCH] gnu: r: Add which to propagated-inputs.
Date: Tue, 24 Jan 2017 22:04:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hi,

Raoul Bonnal <address@hidden> skribis:

> From: Raoul Jean Pierre Bonnal <address@hidden>
>
> * gnu/packages/statistics.scm (r)[propagated-inputs]: Add which.
> ---
>
> Notes:
>     In my local installation of R
>     
>     Sys.which(c("bash"))
>     
>     was not working properly, inspecting the function(below) I had not 
> installed which beforehand.
>     > Sys.which
>     function (names)
>     {
>         res <- character(length(names))
>         names(res) <- names
>         which <- 
> "/gnu/store/cn670s29lsf2nr5axd8gmhl8sb9qpyiq-which-2.21/bin/which"

This function contains the absolute file name of ‘which’, so everything
should work?

Doing this (modifying the code to refer to external commands by absolute
file names) is preferable over propagating inputs, because it avoids
clobbering user profiles.

Thanks,
Ludo’.



reply via email to

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