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: Ra
Subject: Re: [PATCH] gnu: r: Add which to propagated-inputs.
Date: Tue, 24 Jan 2017 21:54:25 +0000

Hi Ludo,

On Tue, Jan 24, 2017 at 10:04 PM Ludovic Courtès <address@hidden> wrote:
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?
 
That is what I expected. The R function was not working till I explicitly installed the package 'which', maybe it was something strange on my side.


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.
Ra 



reply via email to

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