[R-SIG-Mac] Finding "bash" and "mv" on my hard drive?
bgunter@4567 @end|ng |rom gm@||@com
Sat Jan 18 00:28:12 CET 2020
As a minor note, Sys.which is vectorized, so
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Fri, Jan 17, 2020 at 3:20 PM Bob Rudis <bob using rud.is> wrote:
> R does not ship bash or bin with the program distribution on macOS. It
> uses the ones that come along for the ride with the system (which will
> be interesting when Apple removes bash completely in 10.16).
> If you've used MacPorts or Homebrew, you may have installed version of
> those shells/tools there which R is picking up.
> sapply(c("bash", "mv"), Sys.which)
> should tell you where R is picking up those binaries.
> On Fri, Jan 17, 2020 at 6:01 PM Spencer Graves
> <spencer.graves using prodsyse.com> wrote:
> > Hello:
> > How can I find the version of "bash" and "mv" that are used by "R
> > CMD check" under macOS 10.15.2 Catalina?
> > I ask, because my "Bitdefender for Mac" has been interrupting "R
> > CMD check" for a couple of years now, saying, "Bitdefender Safe Files
> > blocked a new process, bash, from accessing your protected files." Each
> > time it happens, Bitdefender allows me to tell it to "Remember this
> > action: For 5 minutes" or "For this time only" or to "Keep blocking".
> > Their "Safe Files" feature allows me to give access to certain
> > applications. I've already "allowed" 36 different applications using
> > that feature, including "/bin/bash", "/bin/mv",
> > "/Library/Frameworks/R.framework/Versions/3.6/Resources/exec/R", and two
> > different versions of "git". I'm not sure, but I believe that "R CMD
> > check" uses versions of "bash" and "mv" different from "/bin/bash" and
> > "/bin/mv".
> > Thanks,
> > Spencer Graves
> > _______________________________________________
> > R-SIG-Mac mailing list
> > R-SIG-Mac using r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
[[alternative HTML version deleted]]
More information about the R-SIG-Mac