> Sys.which(c("bash", "mv")) bash mv "/bin/bash" "/bin/mv"
Thanks. It answers the question I asked, but sadly doesn't solve the problem. Thanks again, Spencer Graves On 2020-01-17 17:28, Bert Gunter wrote: > As a minor note, Sys.which is vectorized, so > Sys.which(c("bash", "mv")) > will do. > > > Bert Gunter > > "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 <b...@rud.is > <mailto:b...@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. > > This: > > sapply(c("bash", "mv"), Sys.which) > > should tell you where R is picking up those binaries. > > -boB > > On Fri, Jan 17, 2020 at 6:01 PM Spencer Graves > <spencer.gra...@prodsyse.com <mailto:spencer.gra...@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@r-project.org <mailto:R-SIG-Mac@r-project.org> > > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > > _______________________________________________ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org <mailto:R-SIG-Mac@r-project.org> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > [[alternative HTML version deleted]] _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac