Hi, Raoul Bonnal <ilpuccio.f...@gmail.com> skribis:
> From: Raoul Jean Pierre Bonnal <ilpuccio.f...@gmail.com> > > * 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’.